@dasa-health/alma-icons
TypeScript icon, indicating that this package has built-in type declarations

0.6.2 • Public • Published

Alma DS icons

Alma icons is the official icon SVG & React lib from Dasa. They can be browsed at here in our Figma.

Introduction

Alma's icon pack is designed to export icons in React and SVG component format.

Installation

Use the terminal to install AlmaIcons in your project.

yarn install @dasa-health/alma-icons

importing

The naming of icons in React follows the format

NameIconVariation

See examples below

import { AddBold } from "@dasa-health/alma-icons";
import { RoundcheckOutline } from "@dasa-health/alma-icons";

const App = () => (
  <Box>
  	<Icon color="support.01">
  		<AddBold />
  	</Icon>
    <Icon px="auto">
      <RoundcheckOutline />
    </Icon>
   </Box>
)

SVG

To use SVG as a module you need to import the complete path of the icon following the format

@dasa-health/alma-icons/assets/variacao/nome-icone.svg

See examples below

import AddBoldIcon from "@dasa-health/alma-icons/assets/bold/add.svg";
import ArrowleftOutlineIcon from "@dasa-health/alma-icons/assets/outline/arrow-left.svg";

See more about Icons in our documentation

See more about our features in our documentation.

Readme

Keywords

Package Sidebar

Install

npm i @dasa-health/alma-icons

Weekly Downloads

221

Version

0.6.2

License

ISC

Unpacked Size

1.06 MB

Total Files

122

Last publish

Collaborators

  • felipe.silva.devtech
  • nav.mobile
  • lucasrusso95
  • allan.pinheiro
  • marcoaure