Eyebrow
A small uppercase label that sits above a heading.
Status: stable. Category: Typography.
import { Eyebrow } from '@glyphui/ui'
Exports: Eyebrow, eyebrowStyles.
Eyebrow props
| Prop | Type | Default | Description |
|---|---|---|---|
asChild | boolean | ||
tone | "primary" | "muted" |
Example: Above a heading
import { Eyebrow, Heading, Text } from '@glyphui/ui'
export default function Example() {
return (
<div className="grid max-w-lg gap-2">
<Eyebrow tone="primary">Changelog</Eyebrow>
<Heading level={2}>Faster tables, calmer forms</Heading>
<Text tone="muted">Everything we shipped in October.</Text>
</div>
)
}
Live page: https://glyphui.xyz/components/eyebrow