Icons

Available Icons

Installation

npm install --save @gladio/icons

Usage

import { InfoSolid } from "@gladio/icons"
function App () {
return <InfoSolid />
}

Playground

Code Editor

Props

All the icons are SVG components and so accepts all the SVG props. Along with SVG props, following props are accepted as well:

title

type: string

To make icons accessible when there is not text associated with the icon, you can provide a title prop to the icons.

Code Editor
Cancel the procces

rotate

oneOf: "90" | "180" | "270"

You can rotate icons by passing a rotate prop for some use cases where icon is provided for only one direction e.g. Icons.ChevronDown

Code Editor

Styles

You can style the icons with our design system props as you would style any normal component.

Code Editor

Available Icons

Bellow is the list of available icons. Each icon has a label which represents the import name for that icon.


Airplane

Annotation

ArrowExpand

Attention

AttentionSolid

BadgeCheckSolid

Ban

Bed

Bus

Calendar

Cancel

CancelCircleSolid

ChevronDown

ClipboardCopy

Cog

Document

DocumentDownload

DotsVertical

Driver

Duplicate

Flag

FlagSolid

Home

Identification

Info

InfoSolid

LightBulb

LightlingBolt

LightlingBoltSolid

LocationMarker

Login

Logout

Mail

Map

MinusCircle

Ok

OkCircleSolid

PaperAirplane

Pencil

Phone

Photograph

Plus

PlusCircle

QuestionMarkCircle

Refresh

Reply

Rupee

Search

Share

ShieldCheck

ShieldExclamation

Sliders

Spinner

Star

StarEmpty

Support

SwitchHorizontal

Tags

Trash

Upload

User

UserGroup

Users

ViewList