interface SkeletonProps

Properties

Shape variant

optional
width: string

Width (CSS value or Tailwind class)

optional
height: string

Height (CSS value or Tailwind class)

optional
darkMode: boolean

Enable dark mode

optional
animate: boolean

Animate the skeleton

optional
animation: "pulse" | "wave" | "none"

Animation type

optional
class: string

Additional classes

Usage

import { type SkeletonProps } from ".";