{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "left-center-right-layout", "title": "Left Center Right Layout", "description": "A stable three-slot horizontal layout with independently aligned left, geometric-center, and right content", "files": [ { "path": "registry/default/ui/left-center-right-layout.tsx", "content": "import type { ComponentPropsWithRef, ReactNode } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type LeftCenterRightLayoutProps = ComponentPropsWithRef<'div'> & {\n\tcenter?: ReactNode;\n\tcenterClassName?: string;\n\tleft?: ReactNode;\n\tleftClassName?: string;\n\tright?: ReactNode;\n\trightClassName?: string;\n};\n\nexport function LeftCenterRightLayout({\n\tcenter,\n\tcenterClassName,\n\tchildren,\n\tclassName,\n\tleft,\n\tleftClassName,\n\tright,\n\trightClassName,\n\t...props\n}: LeftCenterRightLayoutProps) {\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{left}\n\t\t\t\n\t\t\t\n\t\t\t\t{center ?? children}\n\t\t\t\n\t\t\t\n\t\t\t\t{right}\n\t\t\t\n\t\t\n\t);\n}\n", "type": "registry:ui", "target": "@ui/left-center-right-layout.tsx" } ], "type": "registry:ui" }