Skeleton
octane/skeletonFreeComponent
octane publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by octane on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://raw.githubusercontent.com/octanejs/octane/main/packages/shadcn/registry/skeleton.jsonSource
1// Base UI base skeleton — presentational, no headless primitive in any base.2//3// UNVERIFIED PROVENANCE: derived from this package's React Aria base rather than transcribed4// from upstream's `bases/base-ui/ui/skeleton.tsx`, which was not available at port time.5// Skeleton is the WORST case for this, and the reason the whole batch is labelled: the Radix6// base renders `bg-accent` where the React Aria base renders `bg-muted`, so the one token that7// matters here is known to differ ACROSS bases. Verify against the upstream source.8import { cn } from '@/lib/utils';9import type { DivProps } from '@/lib/types';1011export function Skeleton({ className, ...props }: DivProps) @{12 <div13 data-slot="skeleton"14 className={cn('animate-pulse rounded-md bg-muted', className)}15 {...props}16 />17}
What it pulls in
Other registry items
Files it writes
More from octane
All 44 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | octane | Components | Free | 2 deps | |
| Alertalert | octane | Components | Free | 1 dep | |
| Alert Dialogalert-dialog | octane | Components | Free | 1 dep | |
| Aspect Ratioaspect-ratio | octane | Components | Free | no deps | |
| Avataravatar | octane | Components | Free | 1 dep | |
| Badgebadge | octane | Components | Free | 1 dep | |
| Breadcrumbbreadcrumb | octane | Components | Free | 1 dep | |
| Buttonbutton | octane | Components | Free | 2 deps |
