animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksPage header

Page header

A project page header that folds into a compact bar as you scroll, with tabs whose counts roll.

npm install https://animui.stracture.net/__local/package.tgz
Live block · sample data
  1. Checkout redesign

Checkout redesign

On track

Rebuilding mobile checkout around saved payment methods and a single review step, then rolling it out in stages from October 14.

Emma CollinsMarcus JohnsonAva MitchellSofia Ramirez+1
Led by Emma CollinsTarget Oct 14
31 of 40 issues done78%

Milestones

  1. Saved payment methodsShipped Sep 18
  2. Single review stepIn progress, due Oct 1
  3. Staged rolloutPlanned for Oct 14

Recent activity

  • Ava Mitchell moved CHK-131 to review

    1h ago
  • Marcus Johnson merged the saved cards endpoint

    3h ago
  • Emma Collins shared Checkout flows v3

    Yesterday
  • Sofia Ramirez closed CHK-119, a double charge on retry

    Yesterday
  • Jasmine Brooks set the rollout date to October 14

    Sep 17

When to use

  • The top of a project, repository, or record page with breadcrumbs, status, people, and tabs.
  • Detail pages with long content where the header should fold into a compact bar as people scroll.
  • Headers that need a few primary actions plus an overflow menu for the rest.

When not to use

  • Use tabs and breadcrumb on their own when the page only needs navigation, not status and people.
  • Use workspace-sidebar for app-level navigation between sections.
  • Use settings-page for settings screens that need a section nav rather than a record header.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { PageHeader } from 'animui/page-header';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this at the top of a project, repository, or record page. Connect breadcrumbs to your router, tab counts and status to your data, and Follow, Share update, New issue, and Archive to your API; every action in the preview is simulated.

example.tsx
1import { PageHeader } from "animui/page-header";2 3export default function ProjectPage() {4  return (5    <main>6      <PageHeader />7    </main>8  );9}
Built fromButtonBadgeAnimated counterAvatar groupAvatarProgress

API reference

PageHeader

A self-contained project header with breadcrumbs, status, members, progress, tabs and an actions menu that condenses into a compact bar on scroll. The project, people, tabs and counts are sample data declared at the top of page-header.tsx.

No props.

Keyboard interactions

Arrow keys
Move between tabs (Radix tabs) and through the actions menu, which loops.
EnterorSpace
Activates the focused tab or menu item.

Accessibility

  • Tabs use Radix roles (tab, tabpanel) and the current breadcrumb carries aria-current.
  • The icon-only actions trigger has aria-label="More actions"; disabled items use aria-disabled.
  • A polite role="status" region announces results of Follow, Share, Copy link and Archive.

Motion

  • Past a short scroll threshold the header folds into a compact bar; the tab indicator glides with a shared layoutId and counts roll with Animated counter.
  • Reduced motion swaps springs for fades, uses instant scroll instead of smooth, and keeps widths static.

Responsive behavior

  • A ResizeObserver moves secondary actions into the menu when the action row runs out of room.
  • Below a 560px container the root breadcrumb hides, the tab row scrolls sideways with a faded edge, and below 460px the create button drops to an icon.
  • The header condenses from the scroll of its own inner scroller, not the window, so page content must live inside that scroller.

Performance

  • Scroll handling only compares scrollTop to a 16px threshold, so it re-renders when crossing it, not on every frame.
  • Tab counts roll with Animated counter and the tab indicator uses a shared layoutId; both are cheap at a handful of tabs.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use at the top of a project, repository or record page that scrolls beneath it.
  • The block takes no props: replace the in-file project, people and tab data with your own, or lift them into props.
  • Follow, Share update, Copy link, New issue and Archive are simulated; wire them to your API and the breadcrumbs to your router.
  • Composes animui Button, Badge, Animated counter, Avatar, Avatar group and Progress.
/components/blocks/page-header/markdown

The full library index for assistants is at /llms.txt.

Related

TabsComponentSwitch between related content in the same context.BreadcrumbComponentShow where a page sits in a hierarchy.Avatar groupComponentShow a team or set of contributors in a small space.Dropdown menuComponentA focused list of actions anchored to a trigger.Sidebar: WorkspaceProBlockA product sidebar with a workspace switcher, live search, draggable favorites, and inline projects.
PreviousTeam membersNextRevenue explorer
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown