Skeleton

Used to show a placeholder while content is loading.

Last updated January 1, 1980

CreditsUnchangedPublished

Copied from shadcn/ui.

Overview

Installation

Usage

import { Skeleton } from "@/components/ui/skeleton"
 
export function Example() {
  return <Skeleton className="h-4 w-40" />
}

Examples

Card

RTL

API Reference

Skeleton