Cross Square Icon
X mark inside a rounded square, for close buttons, removing entries and deselecting items in a grid. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.
Preview
Install and code
Cross Square icon in shadcn/ui components
Button
Icon button
Button group
Badge
Dropdown menu
Input group
Cross Square icon FAQ
What does this icon show?
X mark inside a rounded square, for close buttons, removing entries and deselecting items in a grid. Typical uses: close button inside a card header, remove an entry from a list and deselect an item in a grid picker.
When should I use it instead of a similar icon?
Use it for:
- Deselect controls on picked tiles in a grid that marks picks with a boxed check
- Taken or blocked cells in a seat map or booking grid, with a matching legend entry
- Close buttons on boxed dashboard widgets where every control sits in a frame
For a failed or rejected status in a table cell or badge, use the Cross Circle icon. For closing a dialog, sheet or popover from its top corner, use the Cross icon.
Which styles does it come in?
4 styles: Outline, Solid, Duotone and Filled. Every style is drawn on the same 24 by 24 grid and installs as its own file, so you can switch styles without touching the layout.
How do I install it with the shadcn CLI?
Copy the install command from the panel above, in the style you want, and run it in your project. The shadcn CLI adds the icon as a React component that you import and render like any other. It draws in the current text color, so your text color and size classes style it. Icon installs need a ReUI Ultimate license.
What icons go well with it?
Check Squared and Trash Square sit beside it in the same toolbar or menu. More from the same family and the Actions set: Arrow Down Wide Narrow, Arrow Up Wide Narrow, Backspace and Bookmark.
When was it added?
It joined the ReUI icon library on June 30, 2026.
Icons related to Cross Square
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.
When to use
- Deselect controls on picked tiles in a grid that marks picks with a boxed check
- Taken or blocked cells in a seat map or booking grid, with a matching legend entry
- Close buttons on boxed dashboard widgets where every control sits in a frame
When not to use
- A failed or rejected status in a table cell or badge: use the Cross Circle icon
- Closing a dialog, sheet or popover from its top corner: use the Cross icon
Agent notes
- Name an icon-only button with its label, "Deselect", as the aria-label
Markdown
https://reui.io/icons/preview/cross-square.mdMCP
get_icon("cross-square")Install
npx shadcn@latest add @reui/icons/default/duotone/cross-squareStart building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
Get All-Access
From $249, once. Lifetime updates.