prongs
GitHub

heading.kicker

A short label above a heading that names its category or series

Component

Renders

<p>

Profile

Comes from

Read https://www.prongs.dev/docs/intents/heading/kicker.md and tell me whether heading.kicker fits what I am building.

Example

Preview

The quick brown fox

<Text intent="heading.kicker">The quick brown fox</Text>

Connections

Choosing between neighbours

  • If it is

    Use

  • A short label above a heading that names its category or series

    heading.kicker
  • The heading itself

    heading.section

For registry authors

Pack intent. prongs add editorial puts the editorial pack’s intents in your registry. They are then yours like the starter intents: rename, restyle and add to them, and see them with prongs add gallery.

What this intent is built from and its entry in components/prongs/registry.ts. You only need this to change how it looks or to add an intent like it.

How heading.kicker resolves, and its definition

Each layer adds to the one before it; a later class wins over an earlier one that sets the same thing.

  • typography.overline

    Tiny uppercase type

    text-xs font-semibold uppercase tracking-wider
  • tone.muted

    Secondary text colour, readable on every surface

    text-surface-muted
  • heading.kicker

    A short label above a heading that names its category or series

Final classes
text-xs font-semibold uppercase tracking-wider
text-surface-muted
Definition
TS
'heading.kicker': {
kind: 'semantic',
description: 'A short label above a heading that names its category or series',
refs: ['typography.overline', 'tone.muted'],
binding: { element: 'p' },
notFor: [{ context: 'the heading itself', instead: 'heading.section' }],
},