Qeetrix

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

FeatureStatus
Right-to-leftNot applicable
Dark modeSupported
DensityNot supported
Server renderingRenders on the server
Reduced motionNot applicable

Accessibility

Follows the WAI-ARIA button pattern. Not yet audited.

Keyboard

Enter Space Tab

Tests

Covered by unit, accessibility (axe), interaction and visual tests.