Qeetrix

Data State

DataState collapses the four common render branches of a query-backed surface — loading / error / empty / data — into one component.

Usage

Import

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

It can also be imported on its own from @qeetrix/ui/components/data-state.

States

loading · busy

Support

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

Accessibility

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

Tests

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