This component no longer exists. It was in skyroc-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-10 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
Aspect Ratio
skyroc-ui/aspect-ratioRemovedBlock
skyroc-ui publishes no description for this item.
Install it
npx shadcn@latest add https://ui-play.skyroc.me/r/aspect-ratio.jsonSource
1'use client';23import type { ComponentRef } from 'react';4import { forwardRef } from 'react';5import type { Root } from '@radix-ui/react-aspect-ratio';6import { useComponentConfig } from '../config-provider/context';7import AspectRatioUI from './AspectRatioUI';8import type { AspectRatioProps } from './types';910const AspectRatio = forwardRef<ComponentRef<typeof Root>, AspectRatioProps>((props, ref) => {11 const config = useComponentConfig('aspectRatio');1213 const mergedProps = {14 ...config,15 ...props16 };1718 return (19 <AspectRatioUI20 {...mergedProps}21 ref={ref}22 />23 );24});2526AspectRatio.displayName = 'AspectRatio';2728export default AspectRatio;
What it pulls in
npm packages
Other registry items
