SectionHeader

A standardized section header for dividing page content into logical groups. Supports a title, description, leading icon, action slot, and an optional bottom border for visual separation.

Import

import { SectionHeader } from '@wavebooking/aqua-fusion';

Preview

Loading preview...

Usage

<SectionHeader
  title="Students"
  description="Manage enrolled students for this session."
  icon={<Icon name="UserGroupIcon" />}
  action={<Button size="sm">Add Student</Button>}
  bordered
/>

Props

PropTypeDefaultDescription
title*string-Section title text.
descriptionstring-Optional description shown below the title.
actionReactNode-Action element such as a button or link, aligned to the right.
iconReactNode-Icon displayed before the title.
classNamestring-Additional CSS classes for the wrapper.
size'sm' | 'md' | 'lg''md'Size variant controlling title, description, and icon sizes.
borderedbooleanfalseWhether to show a bottom border below the header.