Skeleton API
Learn about the Skeleton component's props and CSS classes.Import
import { SkeletonProps } from "@prismane/core";
Props
Skeleton
extends Flex component's props.
Name | Type | Description | Default |
---|---|---|---|
variant | circular / rounded / rectangular | The variant of the skeleton component. | rounded |
CSS
Skeleton
extends Flex component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneSkeleton-root | The container of the skeleton component. |
root | .PrismaneSkeleton-root-{variant} | The container of the skeleton component based on it's variant. |