Socket
Socket
Sign inDemoInstall

@fluentui/react-icons

Package Overview
Dependencies
Maintainers
0
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-icons

Fluent System Icons are a collection of familiar, friendly, and modern icons from Microsoft.


Version published
Weekly downloads
119K
decreased by-14.72%
Maintainers
0
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 Sep 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