Skip to content
Back

Page headerPro

A project header that folds into a compact bar as the page scrolls, with breadcrumb, actions and tabs whose counts roll.

oxyn add page-header

Atlas

Agent running
Rust · 3,412 files · updated 2 min ago by Atlas Coder
Agent opened PR #482 · fix flaky auth test2m
Run 247 finished · 12 files changed3m
Maya approved the deploy to staging4m
Atlas indexed 3,412 files5m
Cost alert: run 251 passed $46m
Agent opened PR #482 · fix flaky auth test7m
Run 247 finished · 12 files changed8m
Maya approved the deploy to staging9m
Atlas indexed 3,412 files10m
Cost alert: run 251 passed $411m
Agent opened PR #482 · fix flaky auth test12m
Run 247 finished · 12 files changed13m
Maya approved the deploy to staging14m
Atlas indexed 3,412 files15m
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • The top of a project or run page: where you are, what it is, actions, and its sections.

When not to use

  • Peer views of one thing: use Tabs instead.
  • Where a page sits: use Breadcrumb instead.
  • The app frame: use App shell instead.

Installation

Page header is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add page-header

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Project

A project header; scroll the body to fold it.

Atlas

Agent running
Rust · 3,412 files · updated 2 min ago by Atlas Coder
Agent opened PR #482 · fix flaky auth test2m
Run 247 finished · 12 files changed3m
Maya approved the deploy to staging4m
Atlas indexed 3,412 files5m
Cost alert: run 251 passed $46m
Agent opened PR #482 · fix flaky auth test7m
Run 247 finished · 12 files changed8m
Maya approved the deploy to staging9m
Atlas indexed 3,412 files10m
Cost alert: run 251 passed $411m
Agent opened PR #482 · fix flaky auth test12m
Run 247 finished · 12 files changed13m
Maya approved the deploy to staging14m
Atlas indexed 3,412 files15m
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Folded

Already folded into the compact bar.

Atlas

Agent running
Rust · 3,412 files · updated 2 min ago by Atlas Coder
Agent opened PR #482 · fix flaky auth test2m
Run 247 finished · 12 files changed3m
Maya approved the deploy to staging4m
Atlas indexed 3,412 files5m
Cost alert: run 251 passed $46m
Agent opened PR #482 · fix flaky auth test7m
Run 247 finished · 12 files changed8m
Maya approved the deploy to staging9m
Atlas indexed 3,412 files10m
Cost alert: run 251 passed $411m
Agent opened PR #482 · fix flaky auth test12m
Run 247 finished · 12 files changed13m
Maya approved the deploy to staging14m
Atlas indexed 3,412 files15m
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Plain

No status pill.

Atlas

Rust · 3,412 files · updated 2 min ago by Atlas Coder
Agent opened PR #482 · fix flaky auth test2m
Run 247 finished · 12 files changed3m
Maya approved the deploy to staging4m
Atlas indexed 3,412 files5m
Cost alert: run 251 passed $46m
Agent opened PR #482 · fix flaky auth test7m
Run 247 finished · 12 files changed8m
Maya approved the deploy to staging9m
Atlas indexed 3,412 files10m
Cost alert: run 251 passed $411m
Agent opened PR #482 · fix flaky auth test12m
Run 247 finished · 12 files changed13m
Maya approved the deploy to staging14m
Atlas indexed 3,412 files15m
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

PageHeader

PropTypeDefaultDescription
titlerequiredString—Title.
crumbsVec<Crumb>Default::default()Path above the title.
metaStringDefault::default()Meta line.
tabsVec<Tab>Default::default()Tabs (with counts).
fold_atf3256.0Fold threshold px.
heightf32340.0Body height px.
statusOption<String>Default::default()Agent status pill text.
foldedboolDefault::default()Start folded.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabBreadcrumb, actions, tabs
← →Between tabs

Accessibility

  • Tabs use tab roles; the current crumb carries aria-current.
  • The icon-only actions trigger is labelled More actions.
  • Follow, Share, Copy link and Archive report through a polite status region.
From the spec

Tabs with tab roles, labelled More actions trigger, disabled items aria-disabled, polite status for results.

Motion & interaction

Folding shrinks the title and collapses crumbs and meta; tab counts roll.

Timing
TransitionDurationEasingReduced motion
Fold240 msease.outinstant

Responsive behaviour

  • Action labels hide in the folded bar and in narrow containers.
Edge cases (spec)

Long titles ellipsize; action labels hide when folded or narrow.

Notes for AI

  • Import PageHeader from oxyn_dioxus and include PRIMITIVES_CSS plus the token stylesheet once.
  • A GPUI version exists: PageHeaderEl in oxyn_gpui.
  • Props to set first: title.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI