Package Exports
- roots-icons
- roots-icons/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (roots-icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
roots-icons
Fontes de ícone e CSS mais recentes para ícones de design de material auto-hospedado.
Este pacote é atualizado automaticamente, portanto sempre terá os ícones mais recentes da Cedro.
Installation
Instale a [versão mais recente][lançamentos] usando:
npm install cedro-icons@latestUsage
Importe em JS (exemplo: src/index.js em Create React App, src/main.js em Vue CLI):
import 'roots-icons/roots-icons.css';ou para projetos Angular 14.0 importe em CSS dentro do arquivo angular.json:
{
"projects": {
"my-project-roots": {
"architect": {
"build": {
"options": {
"styles": [
"src/styles.css",
"roots-icons/roots-icons.css"
],
}
}
}
}
}
}ou importar em HTML:
<link href="/path/to/roots-icons/roots-icons.css" rel="stylesheet">Link alternativo para projetos web em HTML:
<link href="https://www.cedrotech.com/roots/icons/2.0/roots-icons.css" rel="stylesheet">Veja um exemplo para exibir um ícone:
<span class="roots-info"></span> <!-- info -->License
Roots design icons are created by Cedro Technologiesc.