---
title: Design Tokens
description: These custom properties thread through all of Web Awesome's components, giving things a consistent look and feel.
layout: docs
override:tags: []
---

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

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

  <section class="search-list-grid">
    {% for page in collections.tokens | 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>
