Socket
Book a DemoInstallSign in
Socket

@bdt-component-library/icon

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bdt-component-library/icon

Icon component

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
2
Created
Source

Icon Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of standalone icons. Specs/assets here: https://zeroheight.com/990ea04ab/p/177b07-iconography

API

proptyperequireddefaultexplanation
iconNameIconNamesyes"exclamation-diamond"Corresponds with the icon that is imported in the component
sizeenum("tiny""small""medium""large")
colorenum("warning""error""success""info"
classOverrides{ color: string }no{}Allows specifying classes to override other specific classes in the component

IconNames

proptyperequireddefaultexplanation
IconNamesenum("chevron-left""chevron-right""dollar""exclamation-circle"

FAQs

Package last updated on 14 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts