simonhamp/statamic-heroicons

此包已被弃用且不再维护。未建议替代包。

将 Heroicons 引入 Statamic 的 Antlers

安装次数: 2,993

依赖者: 0

建议者: 0

安全: 0

星标: 3

关注者: 2

分支: 3

开放问题: 5

类型:statamic-addon

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

This package is auto-updated.

Last update: 2024-06-17 12:50:59 UTC


README

警告

此包不再维护。请使用stefangalescu/statamic-heroicons代替。

Statamic Heroicons

一个易于在 Antlers 视图中使用 Heroicons 的包。

您可以在 heroicons.com 上查看所有图标。Heroicons 由 Steve Schoger 和 Adam Wathan,Tailwind Labs 制作。

要求

  • PHP 7.4+
  • Statamic 3+

安装

$ composer require simonhamp/statamic-heroicons

使用

{{ heroicons:solid:annotation }}

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

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

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

贡献

请查看CONTRIBUTING以获取详细信息。

许可证

MIT 许可证(MIT)。请参阅LICENSE以获取更多详细信息。