Skip to content

Close Square Line

The close-square-line icon represents a line-style close button in a square shape, often used to dismiss or close a window, dialog, or alert box without filling the icon.

Exports at 24 × 24 px

Close Square Line icon from MingCute Icon
Get Pro

Code

Close Square Line in your framework

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

export const CloseSquareLineIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <g fill="none" fillRule="evenodd"><path d="m12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036q-.016-.004-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z"/><path fill="currentColor" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm16 0H5v14h14zM8.464 8.464a1 1 0 0 1 1.415 0L12 10.586l2.121-2.122a1 1 0 1 1 1.415 1.415L13.414 12l2.122 2.121a1 1 0 1 1-1.415 1.415L12 13.414l-2.121 2.122a1 1 0 1 1-1.415-1.415L10.586 12L8.464 9.879a1 1 0 0 1 0-1.415"/></g>
  </svg>
);

Other libraries

Close Square Line in 4 more libraries

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

MingCute Icon

Icons that share its tags, in the same style.

  • Close Small Line icon from MingCute Icon
  • Button Line icon from MingCute Icon
  • Exit Door Line icon from MingCute Icon
  • Exit Line icon from MingCute Icon
  • Layout Top Close Line icon from MingCute Icon
  • Cross Line icon from MingCute Icon
  • Door Line icon from MingCute Icon
  • More 3 Line icon from MingCute Icon
  • More 4 Line icon from MingCute Icon
  • Paster Line icon from MingCute Icon
  • Stop Line icon from MingCute Icon
  • Clockwise Line icon from MingCute Icon
  • Layout Leftbar Close Line icon from MingCute Icon
  • Layout Rightbar Close Line icon from MingCute Icon
  • Layout Right Line icon from MingCute Icon
  • Menu Line icon from MingCute Icon
  • Save Line icon from MingCute Icon
  • Scale Line icon from MingCute Icon
  • Scan 2 Line icon from MingCute Icon
  • Scan Line icon from MingCute Icon
  • Square Arrow Left Line icon from MingCute Icon
  • Square Arrow Right Line icon from MingCute Icon
  • Square Arrow Up Line icon from MingCute Icon
  • Stop Circle Line icon from MingCute Icon

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

Get Pro

Pricing

MingCute Icon MCP, with Pro

Ask for Close Square Line or any of 3,320 MingCute Icon 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 Square Line 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 Square Line from a prompt

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

Get Pro