Skeleton
Loading placeholder animation
Accessibility
- Do not rely on transient feedback as the only place critical workflow information appears.
- Label dismiss or retry actions explicitly so their purpose is announced.
Styled quick start
Copy this entrypoint first. It includes the imports required to get the component on screen.
svelte
<script lang="ts">
import '@dryui/ui/themes/default.css';
import '@dryui/ui/themes/dark.css';
import { Skeleton } from '@dryui/ui';
</script>
<Skeleton width="200px" height="1rem" /> Import options
Root package
ts
import { Skeleton } from '@dryui/ui' Per-component subpath
ts
import { Skeleton } from '@dryui/ui/skeleton' API
Props, CSS variables, and the public data attributes you can target when styling.
| Prop | Type | Description | Default | Required | Bindable |
|---|---|---|---|---|---|
| variant | textcircularrectangular | Visual style preset for the component. | 'text' | — | — |
| width | string | — | — | — | — |
| height | string | — | — | — | — |