Registry

Command Palette

Search for a command to run...

Login
registry:component

Skeleton

v1.0.0ga

Loading placeholder primitive for async content states.

Registry Endpoint
Open JSON

npx shadcn@latest add @aavya/ui-skeleton

One-time setup — add the @aavya registry to your components.json so branded dependencies resolve to Aavya (not stock shadcn):

"registries": { "@aavya": "https://registry-dev.aavya.com/r/{name}.json" }

Or install by full URL: npx shadcn@latest add https://registry-dev.aavya.com/r/ui-skeleton.json

Live Preview
Props

Skeleton forwards remaining props to all <div> element props.

Usage Snippet
import { Skeleton } from '@/components/ui/skeleton'

export default function Example() {
  return (
    <div className="p-6">
      <Skeleton />
    </div>
  )
}
Source Preview
import { cn } from '@/lib/utils'

function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
  return <div data-slot='skeleton' className={cn('bg-accent animate-pulse rounded-md', className)} {...props} />
}

export { Skeleton }