heading.pitch
The persuasive headline of a marketing page: what the product does for you
Heading intents
Example
The quick brown fox
<Text intent="heading.pitch">The quick brown fox</Text>Choosing between neighbours
Find the row that describes your element, and use the intent on the right.
If it is
Use
The persuasive headline of a marketing page: what the product does for you
heading.pitchthis pageThe title of an app page, sign in, settings or a document
heading.pageA marketing headline
rather thanheading.pageheading.pitchthis page
Connections
Declared in the registry, both directions. Where an intent is used in your own code is something check and the gallery see; this site has no app code.
- Built from
For registry authors
Starter intents. These are the intents prongs add puts in your registry, shown in this site’s theme. Yours are your own registry.ts: 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.pitch 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.displayLargest type
text-4xl tracking-[-0.01em] text-balance sm:text-5xl
tone.defaultMain text colour
text-foreground
heading.pitchThe persuasive headline of a marketing page: what the product does for you
text-3xl font-medium sm:text-4xl
tracking-[-0.01em] text-balance text-foreground text-3xl font-medium sm:text-4xl
'heading.pitch': {
kind: 'semantic',
description: 'The persuasive headline of a marketing page: what the product does for you',
refs: ['typography.display', 'tone.default'],
binding: { classes: 'text-3xl font-medium sm:text-4xl', element: 'h1' },
notFor: [
{
context: 'the title of an app page, sign in, settings or a document',
instead: 'heading.page',
},
],
},