2.0.0 • Published 2 years ago

@rocketsoftware/icons-handlebars v2.0.0

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
2 years ago

@rocketsoftware/icons-handlebars

Handlebars helpers for icons

Getting started

To install @rocketsoftware/icons-handlebars in your project, you will need to run the following command using npm:

npm install -S @rocketsoftware/icons-handlebars

If you prefer Yarn, use the following command instead:

yarn add @rocketsoftware/icons-handlebars

Usage

You can use the carbon-icon helper by passing in the name of the icon you'd like to render. For example:

{{ carbon-icon "Accessibility32" }}

This will output the default <svg> markup for the Accessibility icon at 32x32. You can pass in additional properties like aria-label by doing:

{{ carbon-icon "Accessibility32" aria-label="Accessibility label" }}

These attributes will be applied to the top-level <svg> node.

🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀

📝 License

Licensed under the Apache 2.0 License.

2.0.0

2 years ago

0.10.0

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

5 years ago

0.1.8

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago