BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui/resizable

resizable

draco-china-github/resizable
FreeComponent

shadcn/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/draco-china/shadcn-pro/main/apps/docs/public/r/styles/radix-sera/resizable.json

Source

registry/radix-sera/ui/resizable.tsxraw.githubusercontent.com/draco-china/shadcn-pro/main/apps/docs/public/r/styles/radix-sera/resizable.json
1"use client"
2
3import * as ResizablePrimitive from "react-resizable-panels"
4
5import { cn } from "@/registry/radix-sera/lib/utils"
6
7function ResizablePanelGroup({
8 className,
9 ...props
10}: ResizablePrimitive.GroupProps) {
11 return (
12 <ResizablePrimitive.Group
13 data-slot="resizable-panel-group"
14 className={cn(
15 "flex h-full w-full aria-[orientation=vertical]:flex-col",
16 className
17 )}
18 {...props}
19 />
20 )
21}
22
23function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {
24 return <ResizablePrimitive.Panel data-slot="resizable-panel" {...props} />
25}
26
27function ResizableHandle({
28 withHandle,
29 className,
30 ...props
31}: ResizablePrimitive.SeparatorProps & {
32 withHandle?: boolean
33}) {
34 return (
35 <ResizablePrimitive.Separator
36 data-slot="resizable-handle"
37 className={cn(
38 "relative flex w-px items-center justify-center bg-border ring-offset-background after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
39 className
40 )}
41 {...props}
42 >
43 {withHandle && (
44 <div className="z-10 flex h-6 w-1 shrink-0 rounded-none bg-border" />
45 )}
46 </ResizablePrimitive.Separator>
47 )
48}
49
50export { ResizableHandle, ResizablePanel, ResizablePanelGroup }

What it pulls in

npm packages

  • react-resizable-panels

Files it writes

  • registry/radix-sera/ui/resizable.tsx

Facts

Registry
shadcn/ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-03
Last confirmed
yesterday

Go to the source

draco-china.github.io draco-china/shadcn-pro on GitHub Raw registry item This item as JSON

More from shadcn/ui

All 201 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionshadcn/uiComponentsFreeno deps
alertalertshadcn/uiComponentsFreeno deps
alert-dialogalert-dialogshadcn/uiComponentsFreeno deps
aspect-ratioaspect-ratioshadcn/uiComponentsFreeno deps
avataravatarshadcn/uiComponentsFreeno deps
badgebadgeshadcn/uiComponentsFreeno deps
breadcrumbbreadcrumbshadcn/uiComponentsFreeno deps
buttonbuttonshadcn/uiComponentsFreeno deps
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