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

@fluentui/react-icons

Package Overview
Dependencies
Maintainers
7
Versions
227
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-icons

React components for building web experiences.

  • 0.1.22
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
161K
increased by1.59%
Maintainers
7
Weekly downloads
 
Created

What is @fluentui/react-icons?

@fluentui/react-icons is a package that provides a comprehensive set of icons for use in React applications. These icons are part of the Fluent UI design system, which is developed by Microsoft. The package allows developers to easily integrate high-quality, scalable icons into their projects, ensuring a consistent and visually appealing user interface.

What are @fluentui/react-icons's main functionalities?

Basic Icon Usage

This feature allows you to import and use individual icons from the @fluentui/react-icons package. The example demonstrates how to import the AddIcon and use it within a React component.

import { AddIcon } from '@fluentui/react-icons';

function App() {
  return (
    <div>
      <AddIcon />
    </div>
  );
}

export default App;

Customizing Icon Size

This feature allows you to customize the size of the icons. The example shows how to set the font size of the AddIcon to 24 pixels using inline styles.

import { AddIcon } from '@fluentui/react-icons';

function App() {
  return (
    <div>
      <AddIcon style={{ fontSize: '24px' }} />
    </div>
  );
}

export default App;

Customizing Icon Color

This feature allows you to customize the color of the icons. The example demonstrates how to change the color of the AddIcon to red using inline styles.

import { AddIcon } from '@fluentui/react-icons';

function App() {
  return (
    <div>
      <AddIcon style={{ color: 'red' }} />
    </div>
  );
}

export default App;

Other packages similar to @fluentui/react-icons

FAQs

Package last updated on 27 May 2020

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