---
title: Style Utilities
description:
  Style utilities are preset rules that let you efficiently customize styles for components and native elements alike.
  See the [installation instructions](#installation) to use style utilities in your project.
layout: docs
---

<p>
{% markdown %}
  {{ description }}
{% endmarkdown %}
</p>

<div class="search-list">
  <wa-input class="search-list-input" type="search" placeholder="Search style utilities" autofocus>
    <wa-icon name="search" slot="start"></wa-icon>
  </wa-input>

  <section class="search-list-grid">
    {% for page in collections.styleUtilities | sort(false, false, 'data.title') %}
      <a href="{{ page.url }}">
        <wa-card with-header="" appearance="outlined">
          <div slot="header">
            {# Look for an icon based on the page name #}
            {% set iconPath = "svgs/tokens/" + page.fileSlug + ".njk" %}
            {% set iconContent %}{% include iconPath ignore missing %}{% endset %}
            {% if iconContent.trim() %}
              {# An icon exists! Show it #}
              {{ iconContent | safe }}
            {% else %}
              {# Fallback to the placeholder #}
              {% include 'svgs/thumbnail-placeholder.njk' %}
            {% endif %}
          </div>
          <span class="page-name">{{ page.data.title }}</span>
        </wa-card>
      </a>
    {% endfor %}
  </section>
  <div class="search-list-empty" hidden>
    No results found
  </div>
</div>

<wa-divider style="--spacing: var(--wa-space-3xl);"></wa-divider>

<div class="max-line-length">
{% markdown %}
## Installation

To use all Web Awesome page styles (including [native styles](/docs/utilities/native/)), include the following stylesheet in your project:

```html
<link rel="stylesheet" href="{% cdnUrl 'styles/webawesome.css' %}" />
```

Or, to _only_ include utilities:

```html
<link rel="stylesheet" href="{% cdnUrl 'styles/utilities.css' %}" />
```

{% endmarkdown %}

</div>
