Dev Design Library

Aspect Ratio

Wrapper that maintains aspect ratio for content.

Aspect Ratio preview
Library
Shark UI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @shark/aspect-ratio
Files
  • registry/react/components/aspect-ratio.tsx
  • lib/utils.ts
Source
https://github.com/sharkui-inc/shark-ui

Categories

More from Shark UI