Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@festo-ui/react-icons

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@festo-ui/react-icons

SVG icons wraped by react components

  • 1.6.0-dev.55
  • npm
  • Socket score

Version published
Weekly downloads
289
decreased by-57.37%
Maintainers
0
Weekly downloads
 
Created
Source

react-icons

Installation

npm i @festo-ui/react-icons

Basic usage

All icon names are beginning with <Icon...> Example:

<IconAccordion></IconAccordion>

sizing

The default size is 16px. for other sizes use the size attribute.

Default sizes

You can use these sizes: 16 | 24 | 32 | 48 | 64 | 96 | 128

<IconAccordion size={48}></IconAccordion>

Custom size

To use a custom size, use the svg property together with size = 16, 24 or 32.

<IconAccordion size={32} svgProps={{ height: '256px' }}></IconAccordion>

Color

By default the icon has the text color. If you want the festo colors instead set the festoColor attribute:

<IconAccordion festoColor></IconAccordion>

Add class names

You can add css class names by setting the className attribute:

<button className="fwe-btn">
    <IconAccordion className="fwe-mr-xxs"></IconAccordion>
    Buttontext
</button>

Developer Documentation

For more information for developers, please refer to the Developer README.

Keywords

FAQs

Package last updated on 20 Jun 2024

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