jengacore.shadcn registry · Tailwind v4 · Radix and Base UI
Components
shadcn, restyled · @jengacore/aspect-ratio

Aspect Ratio

shadcn Aspect Ratio, restyled: jengacore focus ring, radii, card fill, navy scrim and shadow-pop.

Separate Radix and Base UI builds
16 : 9

Install

terminal
npx shadcn@latest add @jengacore/aspect-ratio

Without the namespace configured: npx shadcn@latest add https://ui.jengacore.com/r/<new-york-v4|base-nova>/aspect-ratio.json

Registry dependencies

npm packages

radix-ui

Source

components/ui/aspect-ratio.tsx
// jengacore: shadcn new-york/aspect-ratio, restyled by scripts/import-upstream.ts. Change the codemod, not this file.
"use client"

import { AspectRatio as AspectRatioPrimitive } from "radix-ui"

function AspectRatio({
  ...props
}: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {
  return <AspectRatioPrimitive.Root data-slot="aspect-ratio" {...props} />
}

export { AspectRatio }