# heading.pitch

The persuasive headline of a marketing page: what the product does for you

Component: [`<Text>`](https://www.prongs.dev/docs/components/text.md) · Renders: `<h1>` · Profile: [UI](https://www.prongs.dev/docs/intents/ui.md)

## Example

```tsx
<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 for… | Use |
|---|---|
| The persuasive headline of a marketing page: what the product does for you | `heading.pitch` (this page) |
| The title of an app page, sign in, settings or a document | [`heading.page`](https://www.prongs.dev/docs/intents/heading/page.md) |
| A marketing headline (rather than [`heading.page`](https://www.prongs.dev/docs/intents/heading/page.md)) | `heading.pitch` (this 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: [`typography.display`](https://www.prongs.dev/docs/intents/ui.md#typography-display), [`tone.default`](https://www.prongs.dev/docs/intents/ui.md#tone-default)

## 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.display`](https://www.prongs.dev/docs/intents/ui.md#typography-display) — Largest type

  ```
  text-4xl tracking-[-0.01em] text-balance sm:text-5xl
  ```

- [`tone.default`](https://www.prongs.dev/docs/intents/ui.md#tone-default) — Main text colour

  ```
  text-foreground
  ```

- `heading.pitch` (this page) — The persuasive headline of a marketing page: what the product does for you

  ```
  text-3xl font-medium sm:text-4xl
  ```

Final classes

```
tracking-[-0.01em] text-balance text-foreground text-3xl
font-medium sm:text-4xl
```

Definition

```ts
'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',
    },
  ],
},
```
