@tabui/icons-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

Installation

npm install @tabui/icons
npm install @tabui/icons-react

or

yarn add @tabui/icons
yarn add @tabui/icons-react

Use

Single icon

import { TIcon } from '@tabui/icons-react';
import { aifAU } from '@tabui/icons';

...
render() {
  return (
    <TIcon icon={ailList} size="xxl"/>
  )
}
...

All icons

import { TIcon } from '@tabui/icons-react';
import * as icon from '@tabui/icons';

...
render() {
  return (
    <TIcon icon={icon.ailList} size="xxl"/>
  )
}
...

API

property type description
className string A string of all className you want applied to the component.
customClassName string | object | string[] Use for replacing default TIcon component classes. Prop is overriding the 'size' prop.
icon string | string[] Name of the icon placed in React object or SVG content.
height number The height attribute defines the vertical length of an icon.
size sm | md |lg | xl | xxl | 3xl | 4xl | 5xl | 6xl | 7xl | 8xl | 9xl Size of the icon.
use string If defined component will be rendered using use tag.
title string Title tag content.
width number The width attribute defines the horizontal length of an icon.

/@tabui/icons-react/

    Package Sidebar

    Install

    npm i @tabui/icons-react

    Weekly Downloads

    0

    Version

    1.0.11

    License

    ISC

    Unpacked Size

    312 kB

    Total Files

    13

    Last publish

    Collaborators

    • abidesa