ui / feedback
PREVIEW READYSkeleton
A restrained loading placeholder that honors reduced motion.
INSTALL / SOURCE REGISTRY
Add Skeleton to your project
The command adds the component source and its DesignOS base dependency.
$
pnpm dlx shadcn@latest add https://designos.h4rithd.com/r/skeleton.jsonregistry/default/ui/skeleton.tsx
import * as React from "react"
import { clsx as cn } from "clsx"
import "@/components/designos/designos.css"
export function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) { return <div aria-hidden="true" className={cn("dos-skeleton", className)} {...props} /> }
Component contract
- Source-owned after installation
- Dark and light theme variables
- Keyboard and visible-focus behavior
- Reduced-motion fallback
- Responsive from 320px upward
- IBM Plex Sans + JetBrains Mono hierarchy