> To build a Wix site agentically, or add Wix features like bookings or a store to a site you already have, follow https://www.wix.com/headless/skill.md
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Typography Component

## Article: Typography Component

## Article Link: https://dev.wix.com/docs/wix-design-system/components/typography/typography-component.md

## Article Content:

# Typography

_Foundations/Typography_

Interactive docs page: <https://wix-pages.com/design-system-documentation/#/component/typography>

## Overview

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px">
      <Heading size="extraLarge">This is an h1 heading</Heading>
      <Text size="small" weight="normal">
        This is a small.normal text
      </Text>
    </Box>
  );
};
```

The recommended way to use wix-design-system typography is with `<Text/>` and `<Heading/>` components. Not only they provide correct styling but also feature ellipsis and tooltip, when necessary.

### Feature examples

#### Heading sizes

Heading supports 6 sizes: extraLarge, large, medium, small, tiny, and extraTiny.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px">
      <Heading size="extraLarge">extraLarge — Page Title</Heading>
      <Heading size="large">large — Page Section Title</Heading>
      <Heading size="medium">medium — Card Title</Heading>
      <Heading size="small">small — Card Content Title</Heading>
      <Heading size="tiny">tiny — Card Section Title</Heading>
      <Heading size="extraTiny">extraTiny — Card Section Title</Heading>
    </Box>
  );
};
```

#### Heading light variant

Use the `light` prop for headings on dark backgrounds.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px" backgroundColor="D10">
      <Heading size="extraLarge" light>
        extraLarge — Page Title
      </Heading>
      <Heading size="large" light>
        large — Page Section Title
      </Heading>
      <Heading size="medium" light>
        medium — Card Title
      </Heading>
      <Heading size="small" light>
        small — Card Content Title
      </Heading>
      <Heading size="tiny" light>
        tiny — Card Section Title
      </Heading>
      <Heading size="extraTiny" light>
        extraTiny — Card Section Title
      </Heading>
    </Box>
  );
};
```

#### Text weights

Text supports three weights: thin, normal, and bold.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px">
      <Text size="medium" weight="thin">
        Thin — Running Text
      </Text>
      <Text size="medium" weight="normal">
        Normal — Form Field, Button
      </Text>
      <Text size="medium" weight="bold">
        Bold — Emphasized Text
      </Text>
    </Box>
  );
};
```

#### Text skins

Text supports several skins: standard (default), error, premium, and success.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px">
      <Text size="medium" weight="normal">
        Standard text (default)
      </Text>
      <Text size="medium" weight="normal" skin="error">
        Destructive Message
      </Text>
      <Text size="medium" weight="normal" skin="premium">
        Premium Message
      </Text>
      <Text size="medium" weight="normal" skin="success">
        Success Message
      </Text>
    </Box>
  );
};
```

#### Text secondary

Use the `secondary` prop for less prominent text like labels and placeholders.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px">
      <Text size="medium" weight="thin">
        Primary text
      </Text>
      <Text size="medium" weight="thin" secondary>
        Secondary text — Form Field Label
      </Text>
      <Text size="medium" weight="normal" secondary>
        Secondary normal — Placeholder
      </Text>
    </Box>
  );
};
```

#### Text light variant

Use the `light` prop for text on dark backgrounds.

```jsx
() => {
  return (
    <Box direction="vertical" gap="10px" padding="24px" backgroundColor="D10">
      <Text size="medium" weight="thin" light>
        Thin light — Running Text
      </Text>
      <Text size="medium" weight="normal" light>
        Normal light — Button, Text Button
      </Text>
      <Text size="medium" weight="bold" light>
        Bold light — Emphasized Text
      </Text>
      <Text size="medium" weight="thin" light secondary>
        Thin light secondary — Form Field Label
      </Text>
    </Box>
  );
};
```

## Code

```jsx
import { Heading, Text } from '@wix/design-system';
```

### Props

This component has no documented props.

## Testkit

No testkit for this component — it doesn't expose a unidriver testkit.

## Changelog

- **1.339.0** (2026-10-19) — maintenance release, no component-specific changes
- **1.338.0** (2026-10-15) — maintenance release, no component-specific changes
- **1.292.0** (2026-06-22) — maintenance release, no component-specific changes
- **1.267.0** (2026-04-09) — maintenance release, no component-specific changes
- **1.266.0** (2026-04-07) — maintenance release, no component-specific changes
- **1.260.0** (2026-03-17) — maintenance release, no component-specific changes
- **1.165.0** (2025-02-27) — maintenance release, no component-specific changes
- **1.93.0** (2024-02-08) — maintenance release, no component-specific changes
- **1.92.1** (2024-02-05) — maintenance release, no component-specific changes