Close Button
Standalone dismiss/close button.
Usage
Import
import { CloseButton } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/close-button.
States
hover · focus-visible · active
Support
| Feature | Status |
|---|---|
| Right-to-left | Not applicable |
| Dark mode | Supported |
| Density | Not supported |
| Server rendering | Renders on the server |
| Reduced motion | Not applicable |
Accessibility
Follows the WAI-ARIA button pattern. Not yet audited.
Keyboard
Enter Space TabTests
Covered by unit, accessibility (axe), interaction and visual tests.