Progress
skyroc-ui/progressFreeBlock
skyroc-ui publishes no description for this item.
Install it
npx shadcn@latest add https://ui-play.skyroc.me/r/progress.jsonSource
1'use client';23import type { ComponentRef } from 'react';4import { forwardRef } from 'react';5import type { Root } from '@radix-ui/react-progress';6import { useComponentConfig } from '../config-provider/context';7import ProgressUI from './ProgressUI';8import type { ProgressProps } from './types';910const Progress = forwardRef<ComponentRef<typeof Root>, ProgressProps>((props, ref) => {11 const config = useComponentConfig('progress');1213 const mergedProps = {14 ...config,15 ...props16 };1718 return (19 <ProgressUI20 {...mergedProps}21 ref={ref}22 />23 );24});2526Progress.displayName = 'Progress';2728export default Progress;
What it pulls in
Other registry items
Files it writes
More from skyroc-ui
All 58 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | skyroc-ui | Blocks | Free | 2 deps · 10 files | |
| Alertalert | skyroc-ui | Blocks | Free | 1 dep · 9 files | |
| Alert Dialogalert-dialog | skyroc-ui | Blocks | Free | 2 deps · 13 files | |
| Arrowarrow | skyroc-ui | Blocks | Free | no deps | |
| Aspect Ratioaspect-ratio | skyroc-ui | Blocks | Free | 1 dep · 4 files | |
| Avataravatar | skyroc-ui | Blocks | Free | 1 dep · 8 files | |
| Badgebadge | skyroc-ui | Blocks | Free | no deps · 7 files | |
| Bottom Sheetbottom-sheet | skyroc-ui | Blocks | Free | no deps · 12 files |
