A row of pill-shaped action buttons where each pill expands its label on hover — Apple-tab-bar grade affordance.
import PillflowActionMenu from '@crazygl/hero-pillflow-action-menu';
export default function Hero() {
return (
<PillflowActionMenu
heading="Quick actions"
items={'▶ | play\n♥ | favorite\n+ | add'}
/>
);
}items (one icon | label per line), heading.pillBg, pillText, activeBg, headingFontFamily, headingFontWeight.transparentBackground, bgColor.npm install @crazygl/hero-pillflow-action-menuThe component takes the same props you see in the live customizer on the right — every default ships poster-quality.
import PillflowActionMenu from '@crazygl/hero-pillflow-action-menu';
export default function Landing() {
return (
<PillflowActionMenu />
);
}The wrapper renders static HTML on the server and only initialises the canvas after hydration, so search engines see your copy.
// 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>
);
}