CrazyGLCrazyGLHomeExploreGitHubBrowse heroesLoading hero…← Back to gallery@crazygl/pillflow-action-menu

Pillflow Action Menu

A row of pill-shaped action buttons where each pill expands its label on hover — Apple-tab-bar grade affordance.

ReactInteractiveFont#pill#menu#typography

Usage

import PillflowActionMenu from '@crazygl/hero-pillflow-action-menu';

export default function Hero() {
  return (
    <PillflowActionMenu
      heading="Quick actions"
      items={'▶ | play\n♥ | favorite\n+ | add'}
    />
  );
}

Customise

  • Pillsitems (one icon | label per line), heading.
  • StylepillBg, pillText, activeBg, headingFontFamily, headingFontWeight.
  • BackdroptransparentBackground, bgColor.

Best for

  • Compact secondary navigation or toolbars where icons stay tidy until intent.
  • Product hero CTAs that reward hover with a labelled affordance.
  • Tab-bar / quick-action strips on landing pages.
01 · Install the package

One command, zero config.

npm install @crazygl/hero-pillflow-action-menu
02 · Render the component

Import once, drop it in.

The component takes the same props you see in the live customizer on the right — every default ships poster-quality.

hero.tsx
import PillflowActionMenu from '@crazygl/hero-pillflow-action-menu';

export default function Landing() {
  return (
    <PillflowActionMenu />
  );
}
03 · Use it in a page

SSR-safe by default.

The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.

page.tsx
// app/page.tsx — works in SSR-first frameworks (Next, Remix, Astro, etc.)
'use client';

import PillflowActionMenu from '@crazygl/hero-pillflow-action-menu';

export default function Page() {
  return (
    <section>
      <PillflowActionMenu
        heading="Say hi."
        subheading="Your new hero."
      />
      <article>
        <h2>Welcome</h2>
        <p>Your content keeps its own voice below the hero.</p>
      </article>
    </section>
  );
}
You might also like

Similar heroes

Dynamic Fill Nav

A nav bar where each link reveals a coloured fill on hover — left-to-right wipe behind a flat-coloured label.

Hover Text Reveal

A row of phrases where hovering one expands a stagger-typed paragraph beside it — the kind of FAQ heading-list interaction premium SaaS sites use.

Gradient Text

Heading filled with a slowly drifting multi-stop linear gradient — three configurable colours, customizable angle, optional animation.

Mask Text Reveal

Text revealed as a moving circular mask sweeps across — the headline appears only where the image-shaped mask uncovers it.

Text Image Cursor

A list of items where hovering each row reveals a thumbnail that follows the cursor — case-study index pattern, magazine-grade.

Text Hover Reveal

Each item shows a default heading; on hover the heading scrolls up and a secondary line scrolls in from below — list-of-services interaction.
Live customizer

Pillflow Action Menu

Items (icon | label per line)HeadingPill colourPill textActive pill colourFontWeight600Transparent backgroundBackground
CrazyGL · crazygl.comProgrammable hero sections for real websites.