Skip to content
Menu

Icons

X mark icon

X mark icon: A cross that shakes off the action it cancels, offered plain or held inside a circle or a rounded square.

Using X mark icon

X mark icon uses the inline preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
sizenumber56From 16 to 96; step 4
strokenumber2From 1 to 3; step 0.25
colorcolor#F5C542No additional limit in the metadata.
animateselectalwaysOptions: hover, always, once, none
variantselectplainOptions: plain, circled, squared
Which frameworks are available for X mark icon?

X mark icon is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does X mark icon depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in X mark icon?

The React source for X mark icon includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does X mark icon handle reduced motion?

X mark icon reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components