Section Header

Title + supporting text row for page sections. Supports tab group, search, and action buttons in the trailing slot.

import{ SectionHeader } from "@pepulux/ui"

Default with buttons

Team members

Manage your team's access and roles.


With search

Invoices

View and export billing history.

⌘K

Props

PropTypeDefaultDescription
title*stringSection heading text
supportingTextstringSupporting sub-text below the title
actions"buttons" | "search" | "button-group""buttons"Type of trailing action slot
primaryActionSectionHeaderAction{ label, onClick } primary button
secondaryActionSectionHeaderAction{ label, onClick } secondary button
onSearch(q: string) => voidSearch handler (used when actions=search)
dividerbooleanfalseAdds a bottom border