Dev Design Library

Aspect Ratio

Displays content within a desired ratio.

Aspect Ratio preview
Library
D2Studio UI
Framework
React
Type
ui
License
MIT
Dependencies
radix-ui
Install
npx shadcn@latest add https://d2studio.dev/r/aspect-ratio.json
Files
  • registry/default/ui/aspect-ratio.tsx
Source
https://github.com/rajaaltus/d2studio-ui

Categories

More from D2Studio UI