CoreAspect ratio
AspectRatio API
Every prop of AspectRatio, generated from the package manifest.
import { AspectRatio } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- AspectRatio
- Contract
- packages/brand-system/src/components/aspect-ratio.contract.test-d.ts
- Demos
- 1 on the AspectRatio page — rendered live, hydrated
- Source
- packages/brand-system/src/components/aspect-ratio.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what AspectRatio is for, how it composes and what it looks like, see AspectRatio.
AspectRatio
Re-exported from @radix-ui/react-aspect-ratio. These are its props — this package adds none of its own. DOM attributes are accepted too and omitted here.
Prop
Type