Components

Skeleton

A placeholder for loading states or empty content.

Installation

npm install @mijn-ui/react-skeleton

Usage

import { Skeleton } from "@mijn-ui/react-skeleton"
<Skeleton className="w-[100px] h-[20px] rounded-full" />

Examples

SkeletonCard


Skeleton Style Slots

Slot NameTargeted ComponentPurpose
baseSkeletonStyles the skeleton loading component.

API Reference

Standard element attributes are forwarded to the underlying component in addition to the props below.

PropTypeDefaultDescription
classNamestringAdditional classes for the root element.