Components/Skeleton

Search documentation

Jump to any guide or component.

↑↓ move · Enter open · Esc close

Feedback · Skeleton

SSR NativeAccessible

Skeleton

Reserves layout space while content is being prepared.

Live previewv0.1.4
Astro
---
import { Skeleton } from '@charvesta/cetha';
---

<Skeleton width="12rem" height="1rem" />

API reference

PropTypeDefaultDescription
widthstring'100%'CSS width value.
heightstring'1rem'CSS height value.
classstringAdditional classes forwarded to the rendered element.

Accessibility

Skeleton shapes are decorative and hidden from assistive technology.