Qeetrix

Popover

Usage

Import

import { Popover } from "@qeetrix/ui";

It can also be imported on its own from @qeetrix/ui/components/popover.

Controlled and uncontrolled

Pass the value prop to control it, or the default prop to let the component own it.

ValueDefaultChange
opendefaultOpenonOpenChange

States

open

Support

FeatureStatus
Right-to-leftSupported
Dark modeSupported
DensityNot supported
Server renderingClient component
Reduced motionSupported

Accessibility

No ARIA widget pattern. Audited.

CheckResult
SemanticsPass
Accessible namePass
KeyboardPass
FocusPass
Screen readerPass
Right-to-leftNot applicable
Reduced motionPass
Forced coloursPass
ContrastPass

Keyboard

Tab Escape

Focus

Each control is a Tab stop, in order. While open, focus returns on close.

Tests

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