KodeKarsa UI

Basics

Skeleton

Pulsing blocks in the shape of content that is loading.

src/components/ui/skeleton.tsxNo ui-sdk

A loading card

Import

tsx
import { Skeleton } from "@/components/ui/skeleton";

Guidelines

  • Copy the shape of the real content so the layout does not jump.
  • Give the container aria-busy and a label; the skeleton itself is hidden from screen readers.