Skeleton

Use to show a placeholder while content is loading.

Usage

PreviewCode

API Reference

InputTypeDefault
variant SkeletonVariants['variant'] 'rectangle'
class string ''
width string '100%'
height string '1rem'

CVA variants

PropOptionsDefault
variant circle | rectangle | text rectangle

Component Source

Install via CLI:npx @voltui/cli add skeleton
TypeScript
Loading editor…

Copy this code to your project.