Skeleton
Storybook
Go to StorySkeleton()
function Skeleton(__namedParameters): Element;
Defined in: src/components/Skeleton/Skeleton.tsx:30
Skeleton to indicate the content loading state. Useful if you load data partially and want to preserve layout size.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SkeletonProps |
Returns
Element
Example
// Basic usage, width and height classes are necessary
<Skeleton className="w-12 h-4">