Heroicons

Addon by Simon Hamp

Heroicons Main Screenshot

Add Heroicons into your Statamic templates easily

[!WARNING] This package is no longer maintained. Please use stefangalescu/statamic-heroicons instead.

Statamic Heroicons

A package to easily make use of Heroicons in your Antlers views.

You can see all of the icons at heroicons.com. Heroicons are made by Steve Schoger and Adam Wathan, Tailwind Labs.

Requirements

  • PHP 7.4+
  • Statamic 3+

Installation

$ composer require simonhamp/statamic-heroicons

Usage

{{ heroicons:solid:annotation }}

{{ heroicons:outline:arrow-narrow-right }}

{{ heroicons:solid:exclamation class="text-yellow-500" }}

{{ heroicons :type="variable_type" :icon="variable_icon" }}

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see LICENSE for more details.