Install with shadcn CLI
npx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.json
npx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.json
bunx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.json
Category:interface
Tags:xclosecanceldismissremoveexitmark
The x-mark icon represents close and cancel actions with its simple X mark design showing dismissal.
This close symbol has become the universal indicator for closing windows, canceling actions, dismissing dialogs, and removing items across all modern applications and operating systems.
Frequently Asked Questions
Common questions about the X Mark icon