Placeholder

A muted block that holds a field's height while its value loads.

Installation

pnpm dlx shadcn@latest add @chelone/placeholder

A muted block that holds a field's height while its value loads.

Props

PropTypeDefaultDescription
childrenReactNode—Content to show. Defaults to a non-breaking space.
classNamestring—Merged after the default `inline-flex bg-muted` classes.