# `PetalComponents.Typography`
[🔗](https://github.com/petalframework/petal_components/blob/v3.2.0/lib/petal_components/typography.ex#L1)

Everything related to text. Headings, paragraphs and links

# `h1`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `label` (`:string`) - label your heading. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from headings. Defaults to `nil`.
* `underline` (`:boolean`) - underlines a heading. Defaults to `false`.
* `color_class` (`:any`) - adds a color class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `h2`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `label` (`:string`) - label your heading. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from headings. Defaults to `nil`.
* `underline` (`:boolean`) - underlines a heading. Defaults to `false`.
* `color_class` (`:any`) - adds a color class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `h3`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `label` (`:string`) - label your heading. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from headings. Defaults to `nil`.
* `underline` (`:boolean`) - underlines a heading. Defaults to `false`.
* `color_class` (`:any`) - adds a color class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `h4`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `label` (`:string`) - label your heading. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from headings. Defaults to `nil`.
* `underline` (`:boolean`) - underlines a heading. Defaults to `false`.
* `color_class` (`:any`) - adds a color class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `h5`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `label` (`:string`) - label your heading. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from headings. Defaults to `nil`.
* `underline` (`:boolean`) - underlines a heading. Defaults to `false`.
* `color_class` (`:any`) - adds a color class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `ol`

Usage:
    <.ol>
      <li>Item 1</li>
      <li>Item 2</li>
    </.ol>

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `p`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* `no_margin` (`:boolean`) - removes margin from paragraph. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `prose`

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

# `ul`

Usage:
    <.ul>
      <li>Item 1</li>
      <li>Item 2</li>
    </.ul>

## Attributes

* `class` (`:any`) - CSS class. Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
