Socket
Socket
Sign inDemoInstall

@finastra/icon

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finastra/icon

Icon Web Component


Version published
Maintainers
3
Created
Source

Icon

Icon displays an icon with a chosen name from the Material Icons font, or from any font that supports ligatures.

See it on NPM! How big is this package in your project? Storybook

Usage

Import

npm i @finastra/icon
import '@finastra/icon';
...
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet">

<fds-icon>bolt</fds-icon>

API

Properties
PropertyAttributeTypeDefaultDescription
densedensebooleanfalseDense size of the icon 18px.
disableddisabledbooleanfalse
errorerrorbooleanfalseUse error color.
extra_largeextra_largebooleanfalseDense size of the icon 48px.
gradientgradientbooleanfalseUse gradient color.
infoinfobooleanfalse
largelargebooleanfalseLarge size of the icon 36px.
primaryprimarybooleanfalseUse primary color.
secondarysecondarybooleanfalseUse secondary color.
stylesarray["styles"]
successsuccessbooleanfalseUse success color.
warningwarningbooleanfalse
Slots
NameDescription
defaultThe name of the icon to display (e.g. credit_card). See Material Icons for an index of all available icons.
CSS Custom Properties
PropertyDefaultDescription
--fds-icon-size"24px"Size of the icon, default 24px.

Keywords

FAQs

Package last updated on 23 Jan 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc