Install with shadcn CLI
npx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.jsonnpx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.jsonpnpm dlx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.jsonbunx shadcn@latest add https://www.shadcn.io/registry/heroicons-x-mark.jsonCategory: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