Docs
Skeleton

Skeleton

Use to show a placeholder while content is loading.

Loading...
Loading...

Installation

npx shadcn-ng@latest add skeleton
npm
yarn
pnpm
bun

Copy and paste the following code into your project.

Update the import paths to match your project setup.

Usage

import { UbSkeletonDirective } from "@/components/ui/sekeleton.directive";
<div ubSkeleton class="w-[100px] h-[20px] rounded-full"></div>

Examples

Card

Loading...
Loading...