EN
Getting started
40 · UI elements

Page header

Shows the breadcrumb, the title, a short description, and the action buttons on the right together at the very top of the page. It gives list, form, and detail pages the same top layout.

acun:page-header
01

Basic usage

title is required and is rendered as the page's h1 heading, so use it once per page. description adds a one-line description below the title.

LIVE EXAMPLE
<acun:page-header title="Orders" description="Shipping status of the 148 orders from the Kadıköy warehouse." />
PropValues
titlePage title
descriptionDescription below the title
02

Actions

The actions slot sits to the right of the title; put the page's main action last. When there is not enough room, the actions move below the title.

LIVE EXAMPLE
<acun:page-header title="Orders" description="Shipping status of the 148 orders from the Kadıköy warehouse.">
    <acun:slot:actions>
        <acun:button variant="white">Export to Excel</acun:button>
        <acun:button>New order</acun:button>
    </acun:slot:actions>
</acun:page-header>
PropValues
actionsSlot; right of the title
04

Additional content

The default slot is shown below the description; use it for page tabs or filter buttons. This example uses breadcrumbs, actions, and filters together.

LIVE EXAMPLE
<acun:page-header
    title="Shipments"
    description="September 2026 shipments"
    home-url="#"
    :breadcrumbs="[['label' => 'Reports', 'url' => '#raporlar'], ['label' => 'Shipments']]"
>
    <acun:slot:actions>
        <acun:button>Create report</acun:button>
    </acun:slot:actions>

    <div class="flex flex-wrap gap-2">
        <acun:button size="sm" variant="soft">All · 3,320</acun:button>
        <acun:button size="sm" variant="ghost">Delivered · 3,106</acun:button>
        <acun:button size="sm" variant="ghost">Not delivered · 214</acun:button>
    </div>
</acun:page-header>
PropValues
default slotBelow the description (tabs, filters)
API

Props and slots

The values the component accepts.

PropDefaultDescription
title — Required; the page title (h1)
descriptionnullDescription below the title
breadcrumbs[]acun:breadcrumb items; if empty, no breadcrumb is rendered
home-routedashboardRoute name for the home icon; if it is not defined, the site root
home-urlnullDirect URL for the home icon; when given, home-route is not used
Slots: actions (right of the title), default content (below the description)
Acun UI · Page headerDetailed usage and examples