Skeleton

Loading placeholder with pulse animation. Configurable dimensions and border radius.

Preview

Usage

import { Skeleton } from '@ramtt/ui'

<Skeleton width={200} height={20} />
<Skeleton width={40} height={40} radius="full" />

Props

PropTypeDefaultDescription
widthnumber | string'100%'Width
heightnumber | string16Height
radius'sm' | 'md' | 'lg' | 'full' | number'sm'Border radius