npx shadcn@latest add https://sdk-components.thesqd.com/r/section-divider.jsonimport { SectionDivider } from "@/components/ui/section-divider";import { SectionDivider } from "@/components/ui/section-divider";
export function Example() {
return (
<SectionDivider align="center">or continue with</SectionDivider>
);
}SectionDivider (single component — pass the label as children)
├── align="left | center | right" (label position; lines fill the remaining space)
└── children={<ReactNode>} (optional label; omit for a plain divider)SectionDivider
| Prop | Type | Default | Description |
|---|---|---|---|
align | "left" | "center" | "right" | "center" | Where the label sits. `center` draws a line on both sides; `left`/`right` draw a single line on the opposite side. |
children | ReactNode | — | The label. Omit entirely to render a plain full-width divider line. |
className | string | — | Override or extend the wrapper classes. |