A lightweight visual divider for use inside forms and settings panels — bold h3 title with an optional muted description.
Personal info
We'll never share these details with anyone else.
npx shadcn@latest add https://sdk-components.thesqd.com/r/section-header.jsonimport { SectionHeader } from "@/components/blocks/section-header";import { SectionHeader } from "@/components/blocks/section-header";
export function Example() {
return (
<SectionHeader
title="Personal info"
description="We'll never share these details with anyone else."
/>
);
}SectionHeader
├── size="xs | sm | md | lg | xl" (md default — text-lg/sm:text-xl; xl matches app-shell page title text-2xl/sm:text-3xl)
├── title (bold h1 — font-sans, font-bold)
├── description (optional muted-foreground paragraph below the title)
├── onBack (optional click handler — renders a circular back button to the left)
├── backLabel (aria-label for the back button, default "Go back")
└── variant="default | divider" (divider = muted grey uppercase eyebrow label — no hairline rule)Personal info
We'll never share these details with anyone else.
Personal info
We'll never share these details with anyone else.
Contact details
General Information
Help us understand your project better by providing some basic information.
Personal info
We'll never share these details with anyone else.
First name is required
Last name is required
Email is required
Phone is required
Company
Optional — leave blank if you're an individual.
Company name is required
Website is required
Personal info
We'll never share these details with anyone else.
Company details
Optional — leave blank if you're an individual.
Active projects
Dashboard
Inter — app-shell page title.
Personal info
Inter — default size.
Company details
Inter — small size.
Active projects
Tell us what you need
Albra — brand display heading.
Personal info
Albra — default size.
Active projects
Active projects
SectionHeader
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Bold heading text rendered as an h1. |
description | string | — | Optional muted description rendered below the title. |
size | "xs" | "sm" | "md" | "lg" | "xl" | "md" | Title scale. `xs` text-sm · `sm` text-base/sm:text-lg · `md` text-lg/sm:text-xl · `lg` text-xl/sm:text-2xl · `xl` text-2xl/sm:text-3xl (app-shell page title). |
onBack | () => void | — | When provided, renders a circular ghost back button (ArrowLeft) to the left of the title and wraps everything in a flex row. |
backLabel | string | "Go back" | Accessible label for the back button. |
font | "heading" | "sans" | "heading" | Title font family. `heading` uses Albra (display face); `sans` switches to Inter. |
variant | "default" | "divider" | "default" | `default` renders the bold heading. `divider` renders a muted grey eyebrow label: small uppercase `text-muted-foreground` text — ignores `size`, `onBack`, `color`, `font`, `description`, and `inlineActions`. |
className | string | — | Override or extend the wrapper classes. |