Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-skeleton.json --yes

Skeleton

Pro

A placeholder in the shape of the content while it loads, for rows, cards and text, for React and Tailwind CSS. Part of Goop Pro.

Turn loading off and the row crossfades over its skeleton; switch the look (a list row, or a plain block) and the shape. Nothing loads: the switch stands in for the data arriving.

When to use

  • A placeholder in the shape of the content while it loads, for rows, cards and text.
  • Also called: loading placeholder or shimmer.

When not to use

  • For a short wait on an action use Spinner.

Installation

Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Skeleton on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-skeleton.json --yes
PROMPT
Add the Goop Skeleton to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { SkeletonMedia } from '@/components/ui/goop/skeleton';

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

function NoteSummary({ note }: { note: { title: string; body: string } | null }) {
  return (
    <SkeletonContainer
      loading={note === null}
      skeleton={
        <div className="flex w-80 flex-col gap-2">
          <Skeleton className="h-5 w-40" />
          <Skeleton className="h-3" />
          <Skeleton className="h-3 w-2/3" />
        </div>
      }
    >
      <div className="flex w-80 flex-col gap-2">
        <h3 className="text-lg font-medium">{note?.title}</h3>
        <p className="text-base text-muted-foreground">{note?.body}</p>
      </div>
    </SkeletonContainer>
  );
}
  • Fits: states (its recipe).
  • height, width, padding, corner, border, background, text, motion: add no class for these.

API reference

Options
OptionTypeWhat it does
variantdefault | row = default
shaperounded-top | square = rounded-top
asChild?boolean = falseRender the placeholder's look on the one child element instead of a div (a list item).
Parts
PartWhat it is
SkeletonMediaThe row's icon slot
SkeletonContainerA skeleton that its content crossfades over when it arrives; loading: boolean — Whether the content is still loading: the skeleton shows after a short wait; skeleton: ReactNode — What stands in while it loads: Skeletons sized as the content will be
  • Class recipes (cva): skeletonVariants (Skeleton)
  • data-slot values (to select a part by): skeleton, skeleton-band, skeleton-container, skeleton-container-content, skeleton-container-fallback, skeleton-media

Motion

  • The part sets its own motion: add no transition or animation of your own.

Notes for AI

Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.

goop.so/themes/meadow/components/skeleton.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-skeleton.json --yes

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.