1. Docs
  2. components
  3. Skeleton

Skeleton

Use to show a placeholder while content is loading.

Installation

Copy and paste the following code into your project.

Update the import paths to match your project setup.

Usage

import { Skeleton } from "~/components/ui/skeleton";
<Skeleton className="w-[100px] h-[20px] rounded-full" />

Examples

Card