Skip to content
Browse docs and components

Skeleton

skeleton

A placeholder shaped like the content that is loading, with a single travelling shimmer. Hidden from screen readers, so the loading region announces itself once.

Responsive

Install

$npxshadcnadd@forme/skeleton

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

Parts

  • SkeletonTakes <div> attributes