Feedbacksrc/components/ui/skeleton.tsx

Skeleton

A loading placeholder with the shape of future content.

Preview

Installation

Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.

bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/ui

Usage

import { Skeleton } from "@/components/ui/skeleton"

export function Example() {
  return <Skeleton>Skeleton</Skeleton>
}

API Reference

ExportPurpose
SkeletonComposable part exported by `@/components/ui/skeleton`.