Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.06 KB

Ember Static Heroicons

Provides all variants of heroicons as tree-shakeable and statically-importable Glimmer components.

Compatibility

  • Ember.js v4.8 or above
  • Embroider or ember-auto-import v2
  • ember-template-imports – this addon is only tested with statically imported components

Installation

ember install ember-static-heroicons

Usage

import AcademicCap from 'ember-static-heroicons/components/solid-20/academic-cap';

<template>
  <AcademicCap />
</template>

There are three variant sets which map to the following import paths:

  • Outline 24x24, 1.5px stroke ember-static-heroicons/components/outline-24/<icon-name>
  • Solid 24x24, Solid fill ember-static-heroicons/components/solid-24/<icon-name>
  • Mini 20x20, Solid fill ember-static-heroicons/components/solid-20/<icon-name>

For previews, see: heroicons.com

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.