Socket
Socket
Sign inDemoInstall

@finastra/icon

Package Overview
Dependencies
7
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @finastra/icon

Icon Web Component


Version published
Weekly downloads
37
decreased by-27.45%
Maintainers
3
Install size
2.87 MB
Created
Weekly downloads
 

Readme

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.
stylesCSSResult[]["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

Last updated on 27 Jul 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc