Button [Close]
A dedicated dismiss trigger for modals, drawers, alerts, toasts, and overlays. The Close Button gives every dismissible surface a consistent exit point, with 2 variants, 4 appearance styles, and 6 sizes, ready in Figma and React.
![Button [Close]](/_next/image?url=%2Fwebsite%2Fcomponents-close-button.png&w=3840&q=75)
Loved by 2,000+ users worldwide.
Overview
The Close Button is a purpose-built dismiss trigger used across modals, drawers, alerts, toasts, and overlays. Instead of repurposing a generic icon button, it gives every dismissible surface a consistent, recognizable exit point, with 2 semantic variants, 4 appearance styles, and 6 sizes.
Figma Preview
When should you use them?
Use a close button on any surface a user needs to dismiss: a modal, drawer, alert, toast, or overlay. A dedicated close control signals clearly that the element can be closed, instead of leaving users guessing whether a generic icon will work.
How should you use them?
- Use the close button only for dismissing, not for other actions like cancel or back.
- Place it in a consistent position (typically top-right) so users always know where to find it.
- Match the appearance to the surface: Ghost or Soft on light cards, Inverse on dark overlays.
- Pick the size to fit the container: XS for inline alerts, 2XL for full-screen overlays.
- Give it an accessible label like 'Close dialog', since it's an icon-only control.
- Keep it keyboard-focusable, and allow Escape to dismiss where appropriate.
Questions,
answered clearly.
Plans, pricing, licensing, updates, and technical questions, all answered in one place.
Still have questions?
Your current plan is a one-time payment, no subscriptions, no recurring charges for what you buy today. Some future Create UI products (such as AI-powered features) may be offered as optional add-on subscriptions, but these are entirely separate and will never affect your existing purchase. What you buy now, you own permanently.
Stop deciding. Start shipping.
Install it today and your next screen takes an hour instead of a day. Keep rebuilding from scratch, and next quarter looks exactly like this one.
Start Free Now. Upgrade whenever you need.






