> ## Documentation Index
> Fetch the complete documentation index at: https://dev.writer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Heading

export const my_text_0 = undefined

A text component used to display headings or titles in different sizes and styles.

<img src="https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/heading.png?fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=3d8b97932c7ed2d32b1c3797db808c5e" width="432" height="388" data-path="framework/public/components/heading.png" />

## Fields

<table className="componentFields">
  <thead>
    <th>Name</th>
    <th>Type</th>
    <th class="desc">Description</th>
    <th>Options</th>
  </thead>

  <tbody>
    <tr>
      <td>Text</td>
      <td>Text</td>
      <td>Add text directly, or reference state elements with @{my_text_0}.</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Heading type</td>
      <td>Text</td>
      <td>-</td>

      <td>
        <ol>
          <li>h1 (Big)</li>

          <li>h2 (Normal)</li>

          <li>h3 (Small)</li>

          <li>h4 (Smallest)</li>
        </ol>
      </td>
    </tr>

    <tr>
      <td>Alignment</td>
      <td>Text</td>
      <td>-</td>

      <td>
        <ol>
          <li>Left</li>

          <li>Center</li>

          <li>Right</li>
        </ol>
      </td>
    </tr>

    <tr>
      <td>Primary text</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Custom CSS classes</td>
      <td>Text</td>
      <td>CSS classes, separated by spaces. You can define classes in custom stylesheets.</td>

      <td>
        <span>-</span>
      </td>
    </tr>
  </tbody>
</table>
