Components
Eyebrow
The small caps label above a heading.
The small caps label above a heading. Plain inside sections; in a pill at the top of a hero or landing page.
Entity management pilot
plainEntity management pilot
pill-mdEntity management pilot
pill-smimport { Eyebrow } from "@commenda/meridian/ui/eyebrow";
import type { ReactNode } from "react";
function Stage({ children }: { children: ReactNode }) {
return (
<div className="not-prose my-4 flex flex-wrap items-end gap-6 rounded-xl border border-fd-border bg-white p-8">
{children}
</div>
);
}
function Labelled({ label, children }: { label: string; children: ReactNode }) {
return (
<div className="flex flex-col items-center gap-2.5">
{children}
<span className="text-[12px] text-fd-muted-foreground">{label}</span>
</div>
);
}
export function EyebrowStyles() {
return (
<Stage>
<Labelled label="plain">
<Eyebrow label="Entity management pilot" />
</Labelled>
<Labelled label="pill-md">
<Eyebrow label="Entity management pilot" variant="pill-md" />
</Labelled>
<Labelled label="pill-sm">
<Eyebrow label="Entity management pilot" variant="pill-sm" />
</Labelled>
</Stage>
);
}Usage
import { Eyebrow } from "@commenda/meridian/ui/eyebrow";
<Eyebrow label="Entity management pilot" variant="pill-md" />;Write the label in sentence case; CSS shows it in capitals, so screen readers read words, not letters.
Styles
Plain in sections. pill-md 32 in heroes. pill-sm 24 in cards and small pages.
Entity management pilot
plainEntity management pilot
pill-mdEntity management pilot
pill-smimport { Eyebrow } from "@commenda/meridian/ui/eyebrow";
import type { ReactNode } from "react";
function Stage({ children }: { children: ReactNode }) {
return (
<div className="not-prose my-4 flex flex-wrap items-end gap-6 rounded-xl border border-fd-border bg-white p-8">
{children}
</div>
);
}
function Labelled({ label, children }: { label: string; children: ReactNode }) {
return (
<div className="flex flex-col items-center gap-2.5">
{children}
<span className="text-[12px] text-fd-muted-foreground">{label}</span>
</div>
);
}
export function EyebrowStyles() {
return (
<Stage>
<Labelled label="plain">
<Eyebrow label="Entity management pilot" />
</Labelled>
<Labelled label="pill-md">
<Eyebrow label="Entity management pilot" variant="pill-md" />
</Labelled>
<Labelled label="pill-sm">
<Eyebrow label="Entity management pilot" variant="pill-sm" />
</Labelled>
</Stage>
);
}Above a heading
24 between the eyebrow and the heading under it.
Entity management pilot
AI should manage your entities
import { Eyebrow } from "@commenda/meridian/ui/eyebrow";
export function EyebrowAboveHeading() {
return (
<div className="not-prose my-4 flex flex-col items-start gap-6 rounded-xl border border-fd-border bg-(--color-surface-page) p-10">
<Eyebrow label="Entity management pilot" variant="pill-md" />
<h2
className="m-0 text-[56px] leading-[64px] tracking-[-0.02em] text-(--color-text-primary)"
style={{ fontFamily: "var(--font-baskervville)", fontWeight: 500 }}
>
AI should manage your entities
</h2>
</div>
);
}Anatomy
| Part | plain | pill-md | pill-sm |
|---|---|---|---|
| Height | 16 | 32 (control/md) | 24 |
| Padding | – | 16 (spacing/xl) | 12 (spacing/lg) |
| Label | Web/Eyebrow: Inter Semi Bold 13/16, uppercase, tracking 10% | Web/Eyebrow | Inter Medium 12/16, tracking 10% |
| Colour | soft-pearl 800 | soft-pearl 800 on soft-pearl 200, 1px soft-pearl 300 border, radius full | same as pill-md |
API reference
| Prop | Type | Description |
|---|---|---|
labelRequired | string | Sentence case; shown in capitals. Two to four words. |
variant | "plain" | "pill-md" | "pill-sm" | Figma style: plain in sections, pill-md (32) in heroes, pill-sm (24) in cards and small pages. |
as | "div" | "p" | "span" | The element to render. A p by default; never a heading — the heading is below it. |
Best practices
- One eyebrow per heading, never two.
- Keep it to two to four words.
- The pill may hide below 768 when a hero is tight; the plain eyebrow stays.
- Source: Meridian. Pathfinder has no eyebrow.