tochny

Glass Skeleton

Component

About

A shimmering loading placeholder block used to indicate content is loading, with a light-sweep animation and dark mode support.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Skeleton to your project and fits it to your theme.

Code

How Glass Skeleton is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GlassSkeleton } from "@/components/ui/glass-skeleton";

export default function GlassSkeletonDemo() {
  return (
    <div className="flex w-full max-w-sm flex-col gap-3 p-6 bg-background">
      <GlassSkeleton className="h-32 w-full" />
      <GlassSkeleton className="h-4 w-3/4" />
      <GlassSkeleton className="h-4 w-1/2" />
    </div>
  );
}

More by tochny

View all
  • Glass Calendar

    Glass Calendar

  • Glass Pagination

    Glass Pagination

  • Glass Context Menu

    Glass Context Menu

  • Glass Menubar

    Glass Menubar

  • Glass Progress

    Glass Progress

  • Glass Label

    Glass Label