apps/v4/content/docs/components/base/skeleton.mdx
npx shadcn@latest add skeleton
<Step>Copy and paste the following code into your project.</Step>
<ComponentSource name="skeleton" title="components/ui/skeleton.tsx" styleName="base-nova" />
<Step>Update the import paths to match your project setup.</Step>
</Steps> </TabsContent> </CodeTabs>import { Skeleton } from "@/components/ui/skeleton"
<Skeleton className="h-[20px] w-[100px] rounded-full" />
<ComponentPreview styleName="base-nova" name="skeleton-card" previewClassName="h-80" />
To enable RTL support in shadcn/ui, see the RTL configuration guide.
<ComponentPreview styleName="base-nova" name="skeleton-rtl" direction="rtl" />