EVO React Components

Icons

Using lucide-react for consistent, beautiful icons in your applications

We recommend using lucide-react for all icons in your applications. Lucide provides a comprehensive set of beautiful, consistent icons that are optimized for React applications and follow modern design principles.

Installation
Installing lucide-react in your project

To install lucide-react run:

npm:
npm install lucide-react
yarn:
yarn add lucide-react
pnpm:
pnpm add lucide-react
Usage
How to import and use lucide-react icons

Import icons individually from lucide-react for optimal bundle size:

Basic usage:
import { Home, User, Settings, Search } from "lucide-react"

export function MyComponent() {
  return (
    <div className="flex items-center gap-4">
      <Home className="h-5 w-5" />
      <User className="h-5 w-5" />
      <Settings className="h-5 w-5" />
      <Search className="h-5 w-5" />
    </div>
  )
}

You can customize icons with standard React props and Tailwind classes:

With colors:
<Check className="h-6 w-6 text-green-600" />
<X className="h-6 w-6 text-red-600" />
<AlertCircle className="h-6 w-6 text-yellow-600" />
<Info className="h-6 w-6 text-blue-600" />
Common Icon Categories
Examples of commonly used icon categories and their imports

Navigation Icons

Home
User
Settings
Search
Menu
ChevronLeft
ChevronRight
import { 
  Home, 
  User, 
  Settings, 
  Search, 
  Menu, 
  ChevronLeft, 
  ChevronRight 
} from "lucide-react"

Action Icons

Plus
Edit
Trash2
Download
Upload
Save
Copy
import { 
  Plus, 
  Edit, 
  Trash2, 
  Download, 
  Upload, 
  Save, 
  Copy 
} from "lucide-react"

Status Icons

Check
X
AlertCircle
Info
CheckCircle
XCircle
AlertTriangle
import { 
  Check, 
  X, 
  AlertCircle, 
  Info, 
  CheckCircle, 
  XCircle, 
  AlertTriangle 
} from "lucide-react"

Communication Icons

Mail
Phone
MessageCircle
Send
Bell
Heart
Star
import { 
  Mail, 
  Phone, 
  MessageCircle, 
  Send, 
  Bell, 
  Heart, 
  Star 
} from "lucide-react"
Best Practices
Guidelines for using icons effectively
  • Import icons individually to optimize bundle size and enable tree-shaking
  • Use consistent sizing across your application (e.g., h-4 w-4 for small, h-6 w-6 for medium)
  • Apply semantic colors for status icons (green for success, red for error, etc.)
  • Provide accessible alternatives when icons convey important information
  • Browse the complete icon library to find the perfect icon for your use case