Close Button

Standardized dismiss button for modals, drawers, alerts, and toast notifications.

Installation

You can add this close button component using our CLI or manually:

Dark mode ready - this component follows Ethereal UI semantic tokens automatically. Set up theme switching.

The CLI copies the component source (with its internal dependencies) into your project and installs any required npm packages.

npx @etherealui/cli@latest add close-button