Skip to content

Close Rectangle

The close-rectangle icon represents an outlined rectangular close button, commonly used in user interfaces to indicate the action of closing or dismissing a window, dialog, or alert.

Exports at 24 × 24 px

Close Rectangle icon from TDesign Icons
Get Pro

Code

Close Rectangle in your framework

In any framework. Customize it above, and the code follows.

export const CloseRectangleIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none"><path d="M21 3H3v18h18z"/><path stroke="currentColor" strokeLinecap="square" strokeWidth="2" d="M21 3H3v18h18zm-6.171 6.172L12 12m0 0l-2.828 2.828M12 12L9.172 9.172M12 12l2.829 2.828"/></g>
  </svg>
);

Other libraries

Close Rectangle in 1 more libraries

Each library draws it its own way. Open one to compare.

TDesign Icons

Icons that share its tags, in the same style.

  • Multiply icon from TDesign Icons
  • Stop icon from TDesign Icons
  • Check Rectangle icon from TDesign Icons
  • More icon from TDesign Icons
  • Move icon from TDesign Icons
  • Move  1 icon from TDesign Icons
  • Plus icon from TDesign Icons
  • Save icon from TDesign Icons
  • Stop Circle icon from TDesign Icons
  • Stop Circle Stroke icon from TDesign Icons
  • Arrow Down Circle icon from TDesign Icons
  • Arrow Down Rectangle icon from TDesign Icons
  • Arrow Left Circle icon from TDesign Icons
  • Arrow Left Down Circle icon from TDesign Icons
  • Battery Add icon from TDesign Icons
  • Battery Charging icon from TDesign Icons
  • Button icon from TDesign Icons
  • Check icon from TDesign Icons
  • Check Circle icon from TDesign Icons
  • Check Double icon from TDesign Icons
  • Delete  1 icon from TDesign Icons
  • Delete Time icon from TDesign Icons
  • Filter Off icon from TDesign Icons
  • Image Off icon from TDesign Icons

Skip the copy and paste. With Pro, your AI agent finds and installs any TDesign Icons icon from a prompt.

Get Pro

Pricing

TDesign Icons MCP, with Pro

Ask for Close Rectangle or any of 2,138 TDesign Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Close Rectangle icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Close Rectangle from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro