Aspect Ratio
Keeps a media container at a chosen width-to-height ratio as its available width changes.

- Library
- Cojeev UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- class-variance-authority
- Install
npx shadcn@latest add https://cojeev.com/ui/r/aspect-ratio.json- Files
registry/cojeev/ui/aspect-ratio.tsxregistry/cojeev/styles/aspect-ratio.cssregistry/cojeev/lib/utils.tsregistry/cojeev/lib/appearance-tokens.tsregistry/cojeev/lib/assembly-geometry.tsregistry/cojeev/lib/bento-layout.tsregistry/cojeev/lib/bloom-engine.tsregistry/cojeev/lib/chart-geometry.ts
- Source
- https://github.com/luv-jeri/cojeev-ui
Categories
- Aspect Ratio Components
- Tailwind CSS Aspect Ratio Components
- Layout Components
- React Layout Components
- Tailwind CSS Layout Components