preskok/ui

Skeleton

A skeleton loading component with soft variant option.

Installation

pnpm dlx @preskok-org/ui@latest add skeleton

Usage

import { Skeleton } from "@/registry/preskok/ui/preskok-ui/skeleton"
 
export function SkeletonDemo() {
  return (
    <div className="space-y-2">
      <Skeleton className="h-4 w-[250px]" />
      <Skeleton className="h-4 w-[200px]" />
    </div>
  )
}