Async Content
A content region that reflects an async lifecycle. Loading exposes a polite role="status" and marks the region aria-busy; loaded lists the items; empty shows a message; and error exposes an assertive role="alert" with a retry control.
Preview
- Apple
- Banana
Installation
npx shadcn@latest add https://ui.publictheta.com/r/async-content.jsonConformance
This component conforms to the @publictheta/ui-spec async-content specification, covering the loading, loaded, empty, and error states. Run the suite against any implementation with pnpm conformance.