Skip to Content

Components

Icon

1.0.0

Requires Celeste 1.0.0

Install or Update

wp celeste pull component Icon

Dependencies will automatically be installed.

How to use it

<!--
 Icons are pulled from the src/assets/icons directory.
 Any valid file name can be used as an icon name.
-->

<div class="max-w-md flex flex-wrap items-center gap-sm">
    {% for icon in globals.icons %}
        <Icon :name="icon" class="w-6 h-6" />
    {% endfor %}
</div>