Section Header

A heading row combining a title, optional description, and action buttons for a content section.

Install

npx @vultra/cli add section-header

Usage

<script>
  import { SectionHeader, Button } from '@vultra/ui';
</script>

<SectionHeader title="Recent Activity" description="Your latest project updates.">
  <Button variant="outline" size="sm">View All</Button>
  <Button size="sm">New Activity</Button>
</SectionHeader>

Props

PropTypeDefaultDescription
titlestring-Section title
descriptionstring-Supporting description text
classstring-Additional CSS classes

Slots

SlotDescription
defaultAction buttons aligned to the right
descriptionCustom description content

Notes

  • Title and actions are horizontally aligned.
  • Stacks vertically on narrow screens.