Skip to content
aq-ui
Back to ComponentsComponent

Skeleton

Open-code aq-ui accessible component family for Skeleton.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Installation

pnpm dlx aq-ui@alpha add skeleton

API reference

SSR-safe

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

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

<Skeleton />

Skeleton

constSource L4

Open-code aq-ui accessible component family for Skeleton.

const Skeleton = React.forwardRef<React.ComponentRef<"div">, React.ComponentProps<"div">>(…)
Props type
React.ComponentProps<"div">
<Skeleton />

Registry dependencies

utils

Files

  • components/ui/skeleton.tsx

Source