Skeleton
Provides a placeholder that mirrors content while data is loading. Shape it to match the layout users can expect.
React
Ready
Figma
React examples
Default
import { Skeleton, Stack } from "@kela-systems/ui-components"; export default function SkeletonDefault() { return ( <Stack direction="row" gap={3} align="center" className="w-full max-w-xs"> <Skeleton className="size-10 rounded-full" /> <Stack gap={2} grow> <Skeleton className="h-4 w-3/4" /> <Skeleton className="h-4 w-1/2" /> </Stack> </Stack> ); }
Props
Skeleton
No props of its own. It also takes the attributes of the HTML element it renders.