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

@tabler/icons

Package Overview
Dependencies
Maintainers
0
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tabler/icons

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

  • 3.19.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
446K
decreased by-1.35%
Maintainers
0
Weekly downloads
 
Created

What is @tabler/icons?

@tabler/icons is an npm package that provides a collection of over 1000 customizable SVG icons. These icons are designed to be simple, consistent, and easily integrated into web projects. The package is particularly useful for developers looking to add high-quality icons to their applications without the need for custom design work.

What are @tabler/icons's main functionalities?

Importing Icons

You can import specific icons from the @tabler/icons package to use in your project. This allows you to include only the icons you need, reducing the overall bundle size.

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

Using Icons in React

The icons can be easily used within React components. This example demonstrates how to include the 'IconHome' icon in a simple React component.

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

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

Customizing Icon Size and Color

The icons are highly customizable. You can change their size and color by passing props to the icon component. This example shows how to set the size to 48 pixels and the color to red.

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

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

Other packages similar to @tabler/icons

Keywords

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