The Lucide square x icon depicts a stylized multiplication or close symbol within a square, commonly used for actions like canceling, closing, or clearing content.
Common uses
- Close modal or dialog
- Cancel an ongoing operation
- Clear search input
Use it in React
Install
npm i lucide-reactImport & render
import { SquareX } from 'lucide-react';
<SquareX size={24} />Details
- Library
- Lucide (1,713 icons)
- License
- ISC
- viewBox
0 0 24 24- Keywords
- cancelclosedeleteremovetimesclearmathmultiplymultiplicationsquarexcancel iconclose icondelete iconmultiply icon
FAQ
- What is the square x icon used for?
- It's typically used to represent actions such as closing a window, canceling a process, or clearing input fields.
- How do I use the square x icon in React?
- You can import and use it directly from the 'lucide-react' library like this: import { SquareX } from 'lucide-react'.
- What is the license for the Lucide square x icon?
- The Lucide icon library, including the square x icon, is available under the ISC license.
Related icons
The same idea in other libraries, and near matches in Lucide.
Looking for something else? Search Lucide 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 →