Skip to content
DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Icons/Actions/Cross

Cross Icon

Bare X of two crossing diagonal strokes, for closing dialogs, dismissing items and clearing input. Available in 4 styles (outline, solid, duotone and filled) as a React component you install with the shadcn CLI.

Preview

Cross icon in outline, solid, duotone and filled stylesCross icon in outline, solid, duotone and filled styles
  • 16px
  • 20px
  • 24px
  • 32px

Install and code

pnpm dlx shadcn@latest add @reui/icons/default/filled/cross

Writes reui/icons/default/filled/cross.tsx

Icon installs need ReUI Ultimate

Ultimate covers all 667 icons in 4 styles, 57 of them animated, with the CLI install, the source and the SVG of each.

Get UltimateSign in

Cross icon in shadcn/ui components

Button

Icon button

Button group

Dropdown menu

Input group

Cross icon FAQ

What does this icon show?

Bare X of two crossing diagonal strokes, for closing dialogs, dismissing items and clearing input. Typical uses: close a modal dialog, remove a filter chip and clear a search input.

When should I use it instead of a similar icon?

Use it for:

  • Close buttons in the top corner of dialogs, sheets and popovers
  • Dismiss controls on toasts, banners and removable filter chips
  • Clear buttons at the end of a search field, shown once it holds a value

For a bold wrong answer mark in a quiz or a reject button in a swipe queue, use the Cross Outline icon. For an error or failed status on a field, upload or background job, use the Cross Circle icon. For deleting a record for good, where the data is gone afterwards, use the Trash 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?

Exit Right Corner and Copy 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

  • Arrow Down Wide Narrow
  • Arrow Up Wide Narrow
  • Backspace
  • Bookmark
  • Bookmark Check
  • Bookmark Out
  • Bookmarks
  • Check
  • Check Circle
  • Check Squared
  • Click
  • Copy
  • Copy Add
  • Copy Success
  • Cross Circle
  • Cross Outline

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Ultimate license.

When to use

  • Close buttons in the top corner of dialogs, sheets and popovers
  • Dismiss controls on toasts, banners and removable filter chips
  • Clear buttons at the end of a search field, shown once it holds a value

When not to use

  • A bold wrong answer mark in a quiz or a reject button in a swipe queue: use the Cross Outline icon
  • An error or failed status on a field, upload or background job: use the Cross Circle icon
  • Deleting a record for good, where the data is gone afterwards: use the Trash icon

Agent notes

  • Name an icon-only button with its label, "Close", as the aria-label
Markdownhttps://reui.io/icons/preview/cross.md
MCPget_icon("cross")
Installnpx shadcn@latest add @reui/icons/default/duotone/cross
Full index for agents:llms.txtReUI MCP setup

Start 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.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K