Skip to content
DesignOSby h4rithd
Components/Skeleton
ui / feedback

Skeleton

A restrained loading placeholder that honors reduced motion.

PREVIEW READY
LIVE PREVIEWDARK / LIGHT COMPATIBLE
REGISTRY BUILD72%
Compiling deterministic output
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.json
registry/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