BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/skyroc-ui/carousel

Carousel

skyroc-ui/carousel
FreeBlock

skyroc-ui publishes no description for this item.

Install it

npx shadcn@latest add https://ui-play.skyroc.me/r/carousel.json

Source

src/components/carousel/Carousel.tsxui-play.skyroc.me/r/carousel.json
1'use client';
2
3import { forwardRef } from 'react';
4import { useComponentConfig } from '../config-provider/context';
5import CarouselUI from './CarouselUI';
6import type { CarouselProps } from './types';
7
8const Carousel = forwardRef<HTMLDivElement, CarouselProps>((props, ref) => {
9 const config = useComponentConfig('carousel');
10
11 const mergedProps = {
12 ...config,
13 ...props
14 };
15
16 return (
17 <CarouselUI
18 {...mergedProps}
19 ref={ref}
20 />
21 );
22});
23
24Carousel.displayName = 'Carousel';
25
26export default Carousel;

What it pulls in

npm packages

  • embla-carousel-react

Other registry items

  • https://ui-play.skyroc.me/r/style.json
  • https://ui-play.skyroc.me/r/button.json

Files it writes

  • src/components/carousel/Carousel.tsx
  • src/components/carousel/CarouselContent.tsx
  • src/components/carousel/CarouselItem.tsx
  • src/components/carousel/CarouselNext.tsx
  • src/components/carousel/CarouselPrevious.tsx
  • src/components/carousel/CarouselRoot.tsx
  • src/components/carousel/CarouselUI.tsx
  • src/components/carousel/carousel-variants.ts
  • src/components/carousel/context.ts
  • src/components/carousel/index.ts
  • src/components/carousel/types.ts

Facts

Registry
skyroc-ui
Type
registry:block
Access
Free
Files written
11
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
today

Go to the source

ui-play.skyroc.me Ohh-889/skyroc-ui on GitHub Raw registry item This item as JSON

More from skyroc-ui

All 58 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordionskyroc-uiBlocksFree2 deps · 10 files
Alertalertskyroc-uiBlocksFree1 dep · 9 files
Alert Dialogalert-dialogskyroc-uiBlocksFree2 deps · 13 files
Arrowarrowskyroc-uiBlocksFreeno deps
Aspect Ratioaspect-ratioskyroc-uiBlocksFree1 dep · 4 files
Avataravatarskyroc-uiBlocksFree1 dep · 8 files
Badgebadgeskyroc-uiBlocksFreeno deps · 7 files
Bottom Sheetbottom-sheetskyroc-uiBlocksFreeno deps · 12 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex