Icons
icon component in a user interface is to enhance the user experience by providing visual cues, aiding navigation, and conveying meaning in a concise and intuitive way. Icons are small graphical representations that symbolize actions, objects, or concepts.
Installation
TerminalCopyyarn add '@erudilabs/icons'
Usage
Code EditorCopyimport { ChevronDown } from '@erudilabs/icons'
Code EditorCopy<ChevronDown />
Resize Icon
We can use prop className eg. .w-8
.h-8
Code EditorCopy<ChevronDown className="w-8 h-8" />
Color Icon
We can use prop className eg. .text-blue-500
, fo the reference you can see foundations colors
Code EditorCopy<ChevronDown className="text-blue-500" />
Library Icon
Copied!
Arrow Up
Copied!
Arrow Right
Copied!
Arrow Down
Copied!
Arrow Left
Copied!
Chevron Up
Copied!
Chevron Right
Copied!
Chevron Down
Copied!
Chevron Left
Copied!
Eye
Copied!
Eye Slash
Copied!
Briefcase
Copied!
Document Text
Copied!
X Mark
Copied!
X Mark Circle
Copied!
Magnifying Glass
Copied!
Trash
Copied!
Bars 3
Copied!
Plus
Copied!
Minus
Copied!
Sun
Copied!
Moon
Copied!
Code Bracket Square
Copied!
Command Line
Copied!
Desktop
Copied!
Info Circle
Copied!
Exclamation Circle
Copied!
Exclamation Triangle
Copied!
Check Circle
Copied!
Circle Stack
Props Reference
Prop
Type
Default
className
string
-