Utility
Terminal
Installation
$ pnpm dlx shadcn@latest add @termcn/ink/skeleton
Usage
import { Skeleton } from "@/components/ui/skeleton";<Skeleton width={30} height={3} />Examples
Static (No Animation)
Terminal
import { Skeleton } from "@/components/ui/skeleton";
export function SkeletonStatic() {
return <Skeleton width={20} height={2} animated={false} />;
}API Reference
Skeleton
| Prop | Type | Default |
|---|---|---|
width | number | 20 |
height | number | 1 |
animated | boolean | true |
Notes
Accessibility
termcn exposes the following behavior through Ink's terminal accessibility APIs. This is not a browser ARIA or general WCAG-conformance claim.
- Screen reader: Ink labels and semantic state expose the component without relying on visual styling alone.