Install with shadcn CLI
npx shadcn@latest add https://www.shadcn.io/registry/lucide-x.json
npx shadcn@latest add https://www.shadcn.io/registry/lucide-x.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/lucide-x.json
bunx shadcn@latest add https://www.shadcn.io/registry/lucide-x.json
Tags:closecanceldismissexitremovedeleteXclear
The X icon represents close, cancel, and dismiss actions in user interface applications. Featuring two diagonal crossing lines forming a clear X mark, this universally recognized symbol indicates the ability to close dialogs, dismiss notifications, cancel operations, or remove items across virtually all digital interfaces.
Frequently Asked Questions
Common questions about the X icon