simonhamp/statamic-heroicons

Bring Heroicons to Antlers in Statamic

Installs: 2 958

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 4

Open Issues: 6

Type:statamic-addon

v1.1.0 2022-10-17 21:49 UTC

This package is auto-updated.

Last update: 2024-03-30 00:24:22 UTC


README

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.