Skip to content

Icons

DavinciUI uses lucide-react — 1000+ MIT icons, consistent 2px stroke, React-ready. No additional icon package needed.

Introduction#

Icons are from lucide.dev — open-source, consistent stroke width, no fill. Import individually for tree-shaking.

Icon Library#

import { Search, Heart, Star } from "lucide-react"

<Search className="size-4" /> — 16px

Current implementation uses default Lucide stroke (2px). No custom DavinciUI stroke override.

Icon Sizes#

16
20
24
32
48

Use size-4 for inline (16px), size-5 for buttons (20px), size-6 for feature icons.

Stroke#

strokeWidth 1.5 — thin

strokeWidth 2 — default

strokeWidth 2.5 — bold

DavinciUI uses default (2). Override via strokeWidth prop only when needed.

Common Icons#

Actions

Searchlucide-react
Pluslucide-react
Checklucide-react
Xlucide-react
Trashlucide-react
Editlucide-react
Savelucide-react
Downloadlucide-react
Uploadlucide-react

Communication

Maillucide-react
Belllucide-react
Phonelucide-react
Githublucide-react
Twitterlucide-react
Globelucide-react

Navigation

Homelucide-react
ArrowRightlucide-react
Settingslucide-react
Userlucide-react
MapPinlucide-react
Calendarlucide-react
Clocklucide-react

Objects

Heartlucide-react
Starlucide-react
Shieldlucide-react
Locklucide-react
Eyelucide-react
Zaplucide-react
Sparkleslucide-react
FileTextlucide-react
Imagelucide-react
Videolucide-react
Musiclucide-react
Layerslucide-react
Gridlucide-react
Boxlucide-react

Browse all at lucide.dev/icons

Usage Guidelines#

import { Search } from "lucide-react"

<Search className="size-4 text-muted-foreground" />

Always pair with className="size-4" — never hardcode width/height. Use aria-hidden for decorative, aria-label for standalone.

Accessibility#

  • Decorative: <Heart aria-hidden /> — hide from screen readers.
  • With label: <button aria-label="Favorite"><Heart /></button>
  • Icon-only controls: Always provide aria-label — never rely on icon alone.
  • Avoid using icon color alone to convey meaning — pair with text.