Skip to Content
Liquid Glass UI
Components

Skeleton

Apple 27-styled content placeholder inspired by SwiftUI redacted, featuring soft system fills and a gentle pulse animation tuned for standard, Liquid Glass, and Over-Glass surfaces.

Fully compatible with the standard shadcn/ui JSX API (<Skeleton className="h-4 w-32" />). Uses a crisper system fill (rgba(0,0,0,.14) light / rgba(255,255,255,.20) dark) with a 0.5px inner stroke when standalone, automatically softening to rgba(0,0,0,.10) / rgba(255,255,255,.14) inside Card and glass containers with 7px corner radius. Pauses pulse animation under Reduced Motion.

apple-liquid-ui/preview/skeleton-demo
MacBook · 16:10

Installation (Shadcn Registry)

npx shadcn@latest add @apple-liquid/skeleton

Usage

import { Skeleton } from '@/components/ui/skeleton';

export function Example() {
  return (
    <div className="flex items-center gap-3">
      <Skeleton className="size-10 rounded-full" />
      <Skeleton className="h-4 w-40" />
    </div>
  );
}

On this page