Components/Loader

Search documentation

Jump to any guide or component.

↑↓ move · Enter open · Esc close

Feedback · Loader

SSR NativeAccessible

Loader

Announces an indeterminate loading state with a compact spinner.

Live previewv0.1.4
Loading small itemLoading configuration
Astro
---
import { Loader } from '@charvesta/cetha';
---

<Loader label="Loading configuration" />

API reference

PropTypeDefaultDescription
labelstring'Loading'Screen-reader status text.
size'sm' | 'md''md'Sets spinner size.
classstringAdditional classes forwarded to the rendered element.

Accessibility

Always provide a label that describes what is currently loading.