Separator
blok/separatorFreeComponent
Visually or semantically separates content.
Install it
npx shadcn@latest add https://blok.sitecore.com/r/separator.jsonSource
1"use client";23import { Separator as SeparatorPrimitive } from "radix-ui";4import type * as React from "react";56import { cn } from "@/lib/utils";78function Separator({9 className,10 orientation = "horizontal",11 decorative = true,12 ...props13}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {14 return (15 <SeparatorPrimitive.Root16 data-slot="separator-root"17 decorative={decorative}18 orientation={orientation}19 className={cn(20 "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px",21 className,22 )}23 {...props}24 />25 );26}2728export { Separator };
What it pulls in
npm packages
Other registry items
Files it writes
More from blok
All 72 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | blok | Components | Free | 2 deps · 2 files | |
| Action baraction-bar | blok | Components | Free | 1 dep · 2 files | |
| Alertalert | blok | Components | Free | 2 deps · 2 files | |
| Alert dialogalert-dialog | blok | Components | Free | 2 deps | |
| Aspect ratioaspect-ratio | blok | Components | Free | 1 dep | |
| Avataravatar | blok | Components | Free | 1 dep | |
| Badgebadge | blok | Components | Free | 2 deps | |
| All componentsblok-components | blok | Components | Free | no deps |
