John KuehJohn Kueh

cancel square icon

HugeIcons · CancelSquareIcon · MIT

Download SVG

The HugeIcons cancel square icon depicts a square with an 'X' inside, commonly used to signify closing, dismissing, or canceling an action or dialog.

Common uses

  • Closing a modal window
  • Dismissing a notification
  • Canceling a form submission

Use it in React

Install
npm i @hugeicons/react @hugeicons/core-free-icons
Import & render
import { HugeiconsIcon } from '@hugeicons/react';
import { CancelSquareIcon } from '@hugeicons/core-free-icons';

<HugeiconsIcon icon={CancelSquareIcon} size={24} strokeWidth={1.5} />

Details

Library
HugeIcons (5,121 icons)
License
MIT
viewBox
0 0 24 24
Keywords
close squaredismiss squarex squaredelete square

FAQ

What is the cancel square icon used for?
It's used to indicate closing, dismissing, or canceling an action. This could be a dialog box, a notification, or an ongoing process.
How do I use the CancelSquareIcon in React?
Import both HugeiconsIcon and CancelSquareIcon, then render it using <HugeiconsIcon icon={CancelSquareIcon} />.
What is the license for this icon?
The HugeIcons cancel square icon is released under the MIT license.

Related icons

The same idea in other libraries, and near matches in HugeIcons.

Looking for something else? Search HugeIcons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →