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

@tabler/icons-react

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabler/icons-react

A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.

  • 3.22.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
347K
decreased by-3.71%
Maintainers
1
Weekly downloads
 
Created

What is @tabler/icons-react?

@tabler/icons-react is a React library that provides a collection of customizable SVG icons. These icons are designed to be simple, consistent, and easily integrated into React applications. The package offers a wide range of icons that can be used for various purposes such as UI elements, buttons, and navigation.

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

Basic Icon Usage

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

import { IconHome } from '@tabler/icons-react';

function App() {
  return (
    <div>
      <IconHome />
    </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 size of the 'IconHome' component to 48 pixels.

import { IconHome } from '@tabler/icons-react';

function App() {
  return (
    <div>
      <IconHome size={48} />
    </div>
  );
}

export default App;

Customizing Icon Color

This feature allows you to customize the color of the icons. The example demonstrates how to set the color of the 'IconHome' component to red.

import { IconHome } from '@tabler/icons-react';

function App() {
  return (
    <div>
      <IconHome color="red" />
    </div>
  );
}

export default App;

Combining Multiple Icons

This feature allows you to use multiple icons together. The example shows how to import and use both 'IconHome' and 'IconUser' components within a React component.

import { IconHome, IconUser } from '@tabler/icons-react';

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

export default App;

Other packages similar to @tabler/icons-react

FAQs

Package last updated on 12 Nov 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