OverviewInstallationMigrating to 1.0Themes and layersKanok designCustomizingIconsForms and validationFrameworksUsing with AIButtonText inputText areaNumber inputSearchSelectDropdownComboboxMulti-selectCheckboxRadio buttonToggleDate pickerTime pickerSliderFile uploaderModalSide panelTearsheetNotificationToastTooltipDefinition tooltipPopoverToggletipMenuData tableStructured listPaginationContained listTree viewTabsBreadcrumbLinkPagination navContent switcherAccordionProgress indicatorUI shellTagTileCardProduct cardCode snippetCopy buttonUser avatarTruncated textListLoadingInline loadingProgress barSkeletonBadge indicatorStatus indicatorGridHeadingLayerAction setPage headerBig numberEdit in placeIntroductionText inputText areaNumber inputSearchSelectDropdownComboboxMulti-selectCheckboxRadio buttonToggleDate pickerTime pickerSliderFile uploaderTabsPagination navContent switcherTooltipDefinition tooltipPopoverMenuAccordionProgress indicatorUI shellModalSide panelTearsheetNotificationToastData tableStructured listPaginationTree viewCode snippetCopy buttonTruncated textLoadingTagCardProduct cardEdit in place
Page header
The page header is the top of a page in a product (Carbon PageHeader, from Carbon for IBM Products): a breadcrumb bar, the page title with its actions and a short text, and a tab bar. It sticks as the page scrolls: the title and text slide under the breadcrumb bar, which stays, the title appears as the last crumb, and the page's main action moves into the bar. Scroll the box below to see it.
ContractsLeasesWarehouse lease, Bang NaSend for signatureDraftSend for signatureA three-year lease of warehouse 4 with Siam Logistics Co., Ltd., starting 1 January 2027.TermsPartiesHistory
Rent is due on the first working day of each month.
The tenant insures the goods stored in the warehouse.
Either party may end the lease with six months' notice.
The deposit is three months' rent, returned within 30 days of the end.
Repairs above 50,000 baht need the landlord's written approval.
Disputes go to the courts of Bangkok.
This contract is written in Thai and English; the Thai text prevails.
HTMLReactReact + Tailwind<divstyle="height: 420px; overflow: auto; transform: translateZ(0); border: 1px solid var(--ui-hairline)">
<ui-page-header>
<ui-page-header-breadcrumb>
<ui-breadcrumb>
<ui-breadcrumb-itemhref="#page-header-contracts">Contracts</ui-breadcrumb-item>
<ui-breadcrumb-itemhref="#page-header-leases">Leases</ui-breadcrumb-item>
<ui-page-header-title-breadcrumb>Warehouse lease, Bang Na</ui-page-header-title-breadcrumb>
</ui-breadcrumb>
<ui-buttonslot="content-actions"size="md">Send for signature</ui-button>
</ui-page-header-breadcrumb>
<ui-page-header-contentheading="Warehouse lease, Bang Na">
<ui-tagslot="contextual-actions"type="blue"size="lg">Draft</ui-tag>
<ui-buttonslot="page-actions"size="md">Send for signature</ui-button>
<ui-page-header-content-textsubtitle="CT-2026-0142">A three-year lease of warehouse 4 with Siam Logistics Co., Ltd., starting 1 January 2027.</ui-page-header-content-text>
</ui-page-header-content>
<ui-page-header-tabs>
<ui-tabslabel="Contract sections">
<ui-tabpanel="page-header-terms">Terms</ui-tab>
<ui-tabpanel="page-header-parties">Parties</ui-tab>
<ui-tabpanel="page-header-history">History</ui-tab>
</ui-tabs>
<ui-page-header-scrollerslot="scroller"></ui-page-header-scroller>
</ui-page-header-tabs>
</ui-page-header>
<divstyle="padding: 16px">
<p>Rent is due on the first working day of each month.</p>
<p>The tenant insures the goods stored in the warehouse.</p>
<p>Either party may end the lease with six months' notice.</p>
<p>The deposit is three months' rent, returned within 30 days of the end.</p>
<p>Repairs above 50,000 baht need the landlord's written approval.</p>
<p>Disputes go to the courts of Bangkok.</p>
<p>This contract is written in Thai and English; the Thai text prevails.</p>
</div>
</div><UiPageHeader>
<UiPageHeaderBreadcrumb>
<UiBreadcrumb>
<UiBreadcrumbItemhref="/contracts">Contracts</UiBreadcrumbItem>
<UiBreadcrumbItemhref="/contracts/leases">Leases</UiBreadcrumbItem>
<UiPageHeaderTitleBreadcrumb>Warehouse lease, Bang Na</UiPageHeaderTitleBreadcrumb>
</UiBreadcrumb>
<UiButtonslot="content-actions"size="md">Send for signature</UiButton>
</UiPageHeaderBreadcrumb>
<UiPageHeaderContentheading="Warehouse lease, Bang Na">
<UiTagslot="contextual-actions"type="blue"size="lg">Draft</UiTag>
<UiButtonslot="page-actions"size="md">Send for signature</UiButton>
<UiPageHeaderContentTextsubtitle="CT-2026-0142">A three-year lease of warehouse 4 …</UiPageHeaderContentText>
</UiPageHeaderContent>
<UiPageHeaderTabs>
<UiTabslabel="Contract sections">
<UiTabpanel="terms">Terms</UiTab>
<UiTabpanel="parties">Parties</UiTab>
<UiTabpanel="history">History</UiTab>
</UiTabs>
<UiPageHeaderScrollerslot="scroller" />
</UiPageHeaderTabs>
</UiPageHeader><PageHeader>
<PageHeaderBreadcrumbBarcontentActions={<Buttonsize="md">Send for signature</Button>}>
<Breadcrumb>
<BreadcrumbItemhref="/contracts">Contracts</BreadcrumbItem>
<BreadcrumbItemhref="/contracts/leases">Leases</BreadcrumbItem>
<PageHeaderTitleBreadcrumb>Warehouse lease, Bang Na</PageHeaderTitleBreadcrumb>
</Breadcrumb>
</PageHeaderBreadcrumbBar>
<PageHeaderContentheading="Warehouse lease, Bang Na"contextualActions={<Tagtype="blue"size="lg">Draft</Tag>}
pageActions={<Buttonsize="md">Send for signature</Button>}
>
<PageHeaderContentTextsubtitle="CT-2026-0142">A three-year lease of warehouse 4 …</PageHeaderContentText>
</PageHeaderContent>
<PageHeaderTabBarscroller={<PageHeaderScrollButton />}>
<TabsdefaultValue="terms">
<TabListlabel="Contract sections">
<Tabvalue="terms">Terms</Tab>
<Tabvalue="parties">Parties</Tab>
<Tabvalue="history">History</Tab>
</TabList>
</Tabs>
</PageHeaderTabBar>
</PageHeader>
The header sticks inside the box that scrolls it: the page, or the nearest element with overflow: auto or scroll. Each preview on this page sits in its own scrolling box.
Installation
npmshadcn · Web componentshadcn · React + TailwindManualnpminstall@purpurabog/uinpxshadcn@4add@kanok-ui/page-headernpxshadcn@4add@kanok-ui/tw-page-header# Web component# 1. Install the dependenciesnpminstalllit@^3.3.0# 2. Copy each file's "content" from# https://cdn.jsdelivr.net/npm/@purpurabog/ui@2.3.0/registry/page-header.json# to its target:# components/ui/primitives/page-header/page-header-actions.ts# components/ui/primitives/page-header/page-header-breadcrumb.ts# components/ui/primitives/page-header/page-header-content-text.ts# components/ui/primitives/page-header/page-header-content.ts# components/ui/primitives/page-header/page-header-hero-image.ts# components/ui/primitives/page-header/page-header-overflow-shared.ts# components/ui/primitives/page-header/page-header-overflow.ts# components/ui/primitives/page-header/page-header-scroller.ts# components/ui/primitives/page-header/page-header-shared.ts# components/ui/primitives/page-header/page-header-tabs.ts# components/ui/primitives/page-header/page-header-tags.ts# components/ui/primitives/page-header/page-header-title-breadcrumb.ts# components/ui/primitives/page-header/page-header.ts# 3. Do the same for the items it needs (registry/<name>.json):# breadcrumb, button, core-overflow, icon-button, menu, modal, overflow-menu, popover, search, shared-element, shared-events, shared-field, shared-localize, tag, truncated-text, tokens# React + Tailwind# 1. Install the dependencies# (none)# 2. Copy each file's "content" from# https://cdn.jsdelivr.net/npm/@purpurabog/ui@2.3.0/registry/tw-page-header.json# to its target:# components/ui/react-tw/page-header.tsx# 3. Do the same for the items it needs (registry/<name>.json):# core-overflow, tw-button, tw-dom, tw-i18n, tw-icon-button, tw-menu, tw-modal, tw-popover, tw-refs, tw-search, tw-tag, tw-theme, tw-truncated-text, tw-utils
npm gives you every component from the package. shadcn copies the source into your app instead: a copy pinned to this version that you can change. The shadcn commands need the @kanok-ui registry in your components.json once, see Installation.
Use it
In React, import a wrapper for each element (UiPageHeader, UiPageHeaderBreadcrumb, UiPageHeaderContent …) from @purpurabog/ui/react, as in the React tabs here.
heading is the page title, in Carbon's heading-04 (28px), at most 640px wide and two lines; a longer title ends in "…" and shows whole in a tooltip. <ui-page-header-content-text> adds a subtitle and a short text under it. An icon goes in the content's icon slot.
Requests above 200,000 baht need a second approver from Finance.
HTMLReactReact + Tailwind<divstyle="height: 260px; overflow: auto; transform: translateZ(0); border: 1px solid var(--ui-hairline)">
<ui-page-header>
<ui-page-header-contentheading="Procurement approvals for the northern region offices, fiscal year 2027">
<svgslot="icon"width="32"height="32"viewBox="0 0 32 32"aria-hidden="true"style="fill: currentColor"><pathd="M25 5h-3V4a2 2 0 0 0-2-2h-8a2 2 0 0 0-2 2v1H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zM12 4h8v4h-8zm13 24H7V7h3v3h12V7h3z" /></svg>
<ui-page-header-content-textsubtitle="42 requests waiting">Requests above 200,000 baht need a second approver from Finance.</ui-page-header-content-text>
</ui-page-header-content>
</ui-page-header>
</div>import { Report as ReportIcon } from'@carbon/icons-react';
<UiPageHeader>
<UiPageHeaderContentheading="Procurement approvals for the northern region offices, fiscal year 2027">
<ReportIconslot="icon" />
<UiPageHeaderContentTextsubtitle="42 requests waiting">Requests above 200,000 baht need a second approver from Finance.</UiPageHeaderContentText>
</UiPageHeaderContent>
</UiPageHeader>import { Report as ReportIcon } from'@carbon/icons-react';
<PageHeader>
<PageHeaderContentheading="Procurement approvals for the northern region offices, fiscal year 2027"icon={<ReportIcon />}>
<PageHeaderContentTextsubtitle="42 requests waiting">Requests above 200,000 baht need a second approver from Finance.</PageHeaderContentText>
</PageHeaderContent>
</PageHeader>
ReportIcon is Carbon's Report icon from @carbon/icons-react (see Icons); the content shows it at 32px.
Contextual and page actions
slot="contextual-actions" sits right after the title: a status tag, for example. With it, the title keeps to one line. slot="page-actions" sits at the end of the title row: the page's main buttons. When the page actions scroll under the bar, they fade out and the bar's slot="content-actions" fades in, so put the same main action there too.
Purchase requestsPR-2026-0815ApproveWaiting for you
ReturnApprove
Office chairs for the Chiang Mai branch, 48,500 baht.
Requested by Somchai K. on 2 October.
Budget line: 4410 Office equipment.
Supplier: Northern Furniture Co., Ltd.
Delivery within 14 days of the order.
Scroll on: the Approve button moves into the bar.
HTMLReactReact + Tailwind<divstyle="height: 300px; overflow: auto; transform: translateZ(0); border: 1px solid var(--ui-hairline)">
<ui-page-header>
<ui-page-header-breadcrumb>
<ui-breadcrumb>
<ui-breadcrumb-itemhref="#page-header-requests">Purchase requests</ui-breadcrumb-item>
<ui-page-header-title-breadcrumb>PR-2026-0815</ui-page-header-title-breadcrumb>
</ui-breadcrumb>
<ui-buttonslot="content-actions"size="md">Approve</ui-button>
</ui-page-header-breadcrumb>
<ui-page-header-contentheading="PR-2026-0815">
<ui-tagslot="contextual-actions"type="purple"size="lg">Waiting for you</ui-tag>
<divslot="page-actions"style="display: flex">
<ui-buttonkind="secondary"size="md">Return</ui-button>
<ui-buttonsize="md">Approve</ui-button>
</div>
<ui-page-header-content-text>Office chairs for the Chiang Mai branch, 48,500 baht.</ui-page-header-content-text>
</ui-page-header-content>
</ui-page-header>
<divstyle="padding: 16px">
<p>Requested by Somchai K. on 2 October.</p>
<p>Budget line: 4410 Office equipment.</p>
<p>Supplier: Northern Furniture Co., Ltd.</p>
<p>Delivery within 14 days of the order.</p>
<p>Scroll on: the Approve button moves into the bar.</p>
</div>
</div><UiPageHeader>
<UiPageHeaderBreadcrumb>
<UiBreadcrumb>
<UiBreadcrumbItemhref="/requests">Purchase requests</UiBreadcrumbItem>
<UiPageHeaderTitleBreadcrumb>PR-2026-0815</UiPageHeaderTitleBreadcrumb>
</UiBreadcrumb>
<UiButtonslot="content-actions"size="md"onClick={approve}>Approve</UiButton>
</UiPageHeaderBreadcrumb>
<UiPageHeaderContentheading="PR-2026-0815">
<UiTagslot="contextual-actions"type="purple"size="lg">Waiting for you</UiTag>
<divslot="page-actions"style={{ display:'flex' }}>
<UiButtonkind="secondary"size="md">Return</UiButton>
<UiButtonsize="md"onClick={approve}>Approve</UiButton>
</div>
<UiPageHeaderContentText>Office chairs for the Chiang Mai branch, 48,500 baht.</UiPageHeaderContentText>
</UiPageHeaderContent>
</UiPageHeader><PageHeader>
<PageHeaderBreadcrumbBarcontentActions={<Buttonsize="md"onClick={approve}>Approve</Button>}>
<Breadcrumb>
<BreadcrumbItemhref="/requests">Purchase requests</BreadcrumbItem>
<PageHeaderTitleBreadcrumb>PR-2026-0815</PageHeaderTitleBreadcrumb>
</Breadcrumb>
</PageHeaderBreadcrumbBar>
<PageHeaderContentheading="PR-2026-0815"contextualActions={<Tagtype="purple"size="lg">Waiting for you</Tag>}
pageActions={
<divclassName="flex">
<Buttonkind="secondary"size="md">Return</Button>
<Buttonsize="md"onClick={approve}>Approve</Button>
</div>
}
>
<PageHeaderContentText>Office chairs for the Chiang Mai branch, 48,500 baht.</PageHeaderContentText>
</PageHeaderContent>
</PageHeader>
The bar's content actions show only from 672px wide (md); on a phone, the bar keeps just the trail and its page actions.
Actions that overflow
Put a page's icon buttons in <ui-page-header-actions>, in the bar's or the content's slot="page-actions". The buttons that don't fit go, from the end, into a "⋮" menu; choosing one there clicks its button. Each button's label (else its text) names it in the menu. Narrow the box with the slider to see it.
overflow-label (overflowLabel) names the "⋮" menu; it is "More actions" in the page language by default.
Tabs and tags
The tab bar holds a tabs strip, then slot="tags" at its end, 40% wide. <ui-page-header-tags> takes its tags as data (a JSON attribute, or the property) and shows them on one line; the ones that don't fit go behind a "+N" tag that opens them in a popover. Past ten hidden tags, the popover offers "View all tags", a dialog with a search. A dismissible tag removes itself and fires ui-tag-dismiss with { tag, index }.
React + Tailwind's PageHeaderTags doesn't remove a dismissed tag itself: onDismiss tells you, and you take it out of tags. The tab panels go below the header, in the page.
Collapse and expand
<ui-page-header-scroller> in the tab bar's slot="scroller" is a ghost button with a chevron. It scrolls the page until the content sits just under the breadcrumb bar, or back to the top once it has. Its name and tooltip say "Collapse" or "Expand", in the page language; collapse-text and expand-text change them.
DepartmentsLegalContracts, disputes and company registration.PeopleBudget
Malee S., head of department
Somchai K., contracts
Nida P., contracts
Anan W., disputes
Pim R., company registration
Kittipong T., compliance
Suda C., paralegal
Wichai B., paralegal
HTMLReactReact + Tailwind<divstyle="height: 320px; overflow: auto; transform: translateZ(0); border: 1px solid var(--ui-hairline)">
<ui-page-header>
<ui-page-header-breadcrumb>
<ui-breadcrumb>
<ui-breadcrumb-itemhref="#page-header-departments">Departments</ui-breadcrumb-item>
<ui-page-header-title-breadcrumb>Legal</ui-page-header-title-breadcrumb>
</ui-breadcrumb>
</ui-page-header-breadcrumb>
<ui-page-header-contentheading="Legal">
<ui-page-header-content-textsubtitle="12 people">Contracts, disputes and company registration.</ui-page-header-content-text>
</ui-page-header-content>
<ui-page-header-tabs>
<ui-tabslabel="Department sections">
<ui-tabpanel="page-header-people">People</ui-tab>
<ui-tabpanel="page-header-budget">Budget</ui-tab>
</ui-tabs>
<ui-page-header-scrollerslot="scroller"collapse-text="Hide the department summary"expand-text="Show the department summary"></ui-page-header-scroller>
</ui-page-header-tabs>
</ui-page-header>
<divstyle="padding: 16px">
<p>Malee S., head of department</p>
<p>Somchai K., contracts</p>
<p>Nida P., contracts</p>
<p>Anan W., disputes</p>
<p>Pim R., company registration</p>
<p>Kittipong T., compliance</p>
<p>Suda C., paralegal</p>
<p>Wichai B., paralegal</p>
</div>
</div><UiPageHeader>
…
<UiPageHeaderTabs>
<UiTabslabel="Department sections">…</UiTabs>
<UiPageHeaderScrollerslot="scroller"collapseText="Hide the department summary"expandText="Show the department summary" />
</UiPageHeaderTabs>
</UiPageHeader><PageHeader>
…
<PageHeaderTabBarscroller={<PageHeaderScrollButtoncollapseText="Hide the department summary"expandText="Show the department summary" />}>
<TabsdefaultValue="people">…</Tabs>
</PageHeaderTabBar>
</PageHeader>
ui-page-header-state fires on <ui-page-header> (it doesn't bubble) each time the header's state changes: fullyCollapsed, titleClipped, contentActionsClipped. React + Tailwind's PageHeader has onContentFullyCollapsed, onTitleClipped and onContentActionsClipped instead. disable-sticky-tab-bar (disableStickyTabBar) on the tab bar lets the whole header scroll away with the page, as Carbon's disableStickyTabBar: the breadcrumb bar is then fixed at the top of the window, full width, so use it for a header at the top of the page.
Hero image
<ui-page-header-hero-image> holds an <img> (or <picture>) beside the content, cropped to 3:2, or 2:1 from 1056px (lg). Carbon lays it out with a grid: the bar and the content in one half, the image in the other, which hides on a phone. object-fit="contain" shows the whole image instead of cropping it.
SitesBang Na warehouseOur main storage site for the eastern region.
Opened in 2019.
Open 24 hours, seven days a week.
HTMLReactReact + Tailwind<divstyle="height: 360px; overflow: auto; transform: translateZ(0); border: 1px solid var(--ui-hairline)">
<ui-page-header>
<ui-grid>
<ui-columnsm="4"md="4"lg="8">
<ui-page-header-breadcrumb border="false">
<ui-breadcrumb>
<ui-breadcrumb-itemhref="#page-header-sites">Sites</ui-breadcrumb-item>
<ui-page-header-title-breadcrumb>Bang Na warehouse</ui-page-header-title-breadcrumb>
</ui-breadcrumb>
</ui-page-header-breadcrumb>
<ui-page-header-contentheading="Bang Na warehouse">
<ui-page-header-content-textsubtitle="12,000 m²">Our main storage site for the eastern region.</ui-page-header-content-text>
</ui-page-header-content>
</ui-column>
<ui-columnsm="0"md="4"lg="8">
<ui-page-header-hero-image>
<imgalt=""src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200'%3E%3Crect width='400' height='200' fill='%230f62fe'/%3E%3Crect y='120' width='400' height='80' fill='%23002d9c'/%3E%3Crect x='60' y='70' width='160' height='70' fill='%23a6c8ff'/%3E%3C/svg%3E" />
</ui-page-header-hero-image>
</ui-column>
</ui-grid>
</ui-page-header>
<divstyle="padding: 16px">
<p>Opened in 2019.</p>
<p>Open 24 hours, seven days a week.</p>
</div>
</div><UiPageHeader>
<UiGrid>
<UiColumnsm="4"md="4"lg="8">
<UiPageHeaderBreadcrumbborder={false}>…</UiPageHeaderBreadcrumb>
<UiPageHeaderContentheading="Bang Na warehouse">
<UiPageHeaderContentTextsubtitle="12,000 m²">Our main storage site for the eastern region.</UiPageHeaderContentText>
</UiPageHeaderContent>
</UiColumn>
<UiColumnsm="0"md="4"lg="8">
<UiPageHeaderHeroImage>
<imgalt=""src={warehousePhoto} />
</UiPageHeaderHeroImage>
</UiColumn>
</UiGrid>
</UiPageHeader><PageHeader>
<Grid>
<Columnsm={4} md={4} lg={8}>
<PageHeaderBreadcrumbBarborder={false}>…</PageHeaderBreadcrumbBar>
<PageHeaderContentheading="Bang Na warehouse">
<PageHeaderContentTextsubtitle="12,000 m²">Our main storage site for the eastern region.</PageHeaderContentText>
</PageHeaderContent>
</Column>
<Columnsm={0} md={4} lg={8}>
<PageHeaderHeroImage>
<imgalt=""src={warehousePhoto} />
</PageHeaderHeroImage>
</Column>
</Grid>
</PageHeader>
A decorative image takes alt="". If the image says something the text doesn't, describe it in alt.
Grid options
The parts line up on Carbon's grid: at most 1584px wide and centred, with the grid's margin. narrow-grid (narrowGrid) hangs the text on the margin, without the half gutter; full-width-grid (fullWidthGrid) drops the 1584px cap. Match them to the grid of the page below.
The title is an <h1>. heading-level (headingAs in React + Tailwind) makes it another level, for a header inside a page that already has its <h1>; the subtitle is an <h2> and subtitle-level (subtitleAs) changes it. For a title with markup, put it in the content's slot="title" instead of heading; in React + Tailwind, heading takes markup.
A title in the slot isn't cut to two lines and gets no tooltip.
Bar options
On the breadcrumb bar: slot="icon" (icon) puts a 16px icon before the trail; border="false" (border={false}) drops the line under the bar; page-actions-flush (pageActionsFlush) lets the page actions reach the edge; content-actions-flush (contentActionsFlush) drops the 12px gap after the content actions. actions-aria-label (actionsAriaLabel) names the bar's toolbar ("Page header actions" by default, in the page language). A long trail can fold its middle crumbs into a menu with the breadcrumb's overflow.
HomeFinanceReportsQuarterlyQ3 2026 spending by department
When the page has a fixed UI shell header above it, the page header measures how far it sits below the top of its scrolling box and sticks under the shell, not behind it. You set nothing. It measures again whenever its size changes.
Accessibility
The title is a real heading (<h1> by default); keep one <h1> per page.
The title crumb is hidden from screen readers and out of the Tab order until it shows, so the trail isn't read twice.
The page actions that fade out while scrolled away are hidden from everyone, and the bar's content actions show instead. Put the same actions in both places.
The bar's actions are a toolbar with a name. The "+N" tag announces how many tags are hidden ("4 more tags").
With reduced motion, the title crumb fades in without moving.
API
Generated from the package. In React, pass a property as a prop of the same name; events are props too (the React column).
<ui-page-header> · React UiPageHeader
Attributes
Attribute
Property
Type
Default
Description
full-width-grid
fullWidthGrid
boolean
false
No 1584px cap on the grid.
narrow-grid
narrowGrid
boolean
false
Hang the text on the grid margin.
Properties
Property
Type
Description
state
PageHeaderState
The shared state; its parts read it.
Methods
Method
Description
setState(next)
Merge into the state and tell the parts.
setStatic(on)
A tab bar asks the header not to stick (Carbon disableStickyTabBar): the bar is fixed instead.
Events
Event
React
Description
ui-page-header-state
onUiPageHeaderState
The state changed (state: fullyCollapsed, titleClipped, contentActionsClipped …); not bubbling
Slots
Slot
Description
(default)
The parts
CSS custom properties
Custom property
Default
Description
--ui-page-header-top
Set by the header: how far up it sticks (minus the content's height)
--ui-page-header-bar-top
Set by the header: where the bar sticks (under a fixed UI shell)