Eyebrow

A quiet 12 px label above a group, in sentence case and muted.

BetaReady to use. Its API can still change in a minor release; the changelog says when.

import { Eyebrow } from "@leap-crm/design-system";

Playground

Change a prop and the component follows. Its code is under Props.

Matter details

Props

children

Best practices

When to use it, and the rules that apply in particular places.

GuidancePractice
DoUse it for a quiet label above a small group, like "Recent activity" over a contact's latest notes.
DoWrite it in sentence case. It is a label, so all caps or a bolder weight would make it louder than the content under it.
Don'tUse it to head a section of a page or panel. Use SectionHeader, which is a real heading in the page's outline.
Don'tUse it as a form field's label. Use Field with label, which names the control for screen readers.

Props

Takes every prop of a <p>.

No props of its own.

Code

What the playground shows, ready to copy.

import { Eyebrow } from "@leap-crm/design-system";

<Eyebrow>Matter details</Eyebrow>