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
| 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 alert pattern. Not yet audited.
Tests
Covered by unit, accessibility (axe) and visual tests.