Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    SectionHeader

    layout

    Section divider with optional number, title, and tag/eyebrow. Configurable heading level (h1-h6). Applies the brand.shead grammar.

    Preview

    §01

    Authentication

    core
    §02

    Authorization

    core

    Untitled Section

    Usage

    import { SectionHeader } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <SectionHeader
      num="§01"
      title="Authentication"
      tag="core"
    />
    
    // As h3 instead of default h2
    <SectionHeader title="Subsection" level={3} />

    Props

    PropTypeDefaultDescription
    numstring--Section number label
    titlestringrequiredSection title
    tagstring--Eyebrow text at the right
    level1 | 2 | 3 | 4 | 5 | 62Heading level
    classstring--Additional CSS classes
    idstring--Section id for anchor links

    Accessibility

    Do / Don't

    Do

    Use sequential numbering and consistent heading levels across a page.

    Don't

    Don't skip heading levels (h2 to h4) -- screen reader navigation depends on correct hierarchy.