Aspect Ratio

@interlace/ui — aspect-ratio primitive (shadcn-compatible).

ui
Visual examples + interactive variants
View Aspect Ratio on Storybook
All states, themes, a11y assertions — rendered live.

Install

Via shadcn URL
npx shadcn@latest add https://ds.interlace.tools/r/aspect-ratio.json
Or, with this registry aliased as @interlace
npx shadcn@latest add @interlace/aspect-ratio

Details

Target path
components/ui/aspect-ratio.tsx
NPM dependencies
none
Registry dependencies