#[non_exhaustive]pub enum IconName {
Show 245 variants
Activity,
AlarmClock,
Archive,
ArrowDown,
ArrowDownLeft,
ArrowDownRight,
ArrowDownToLine,
ArrowLeft,
ArrowLeftRight,
ArrowRight,
ArrowUp,
ArrowUpDown,
ArrowUpLeft,
ArrowUpRight,
ArrowUpToLine,
AtSign,
Ban,
Battery,
Bell,
BellOff,
Bold,
Book,
BookOpen,
Bookmark,
Bot,
Box,
Briefcase,
Bug,
Building,
Calendar,
CalendarDays,
Camera,
ChartBar,
ChartColumn,
ChartLine,
ChartPie,
Check,
CheckCheck,
ChevronDown,
ChevronLeft,
ChevronRight,
ChevronUp,
ChevronsDown,
ChevronsLeft,
ChevronsRight,
ChevronsUp,
ChevronsUpDown,
Circle,
CircleAlert,
CircleCheck,
CircleDot,
CircleHelp,
CircleMinus,
CirclePlus,
CircleUser,
CircleX,
Clipboard,
ClipboardCheck,
ClipboardCopy,
Clock,
Cloud,
CloudDownload,
CloudUpload,
Code,
CodeXml,
Columns2,
Command,
Compass,
Contrast,
Copy,
CornerDownLeft,
Cpu,
CreditCard,
Crop,
Database,
DollarSign,
Download,
Droplet,
Ellipsis,
EllipsisVertical,
Expand,
ExternalLink,
Eye,
EyeOff,
File,
FileCode,
FilePlus,
FileText,
Files,
Film,
Flag,
Folder,
FolderOpen,
FolderPlus,
Funnel,
Gift,
GitBranch,
GitCommitHorizontal,
GitMerge,
GitPullRequest,
Globe,
GraduationCap,
Grid2x2,
GripHorizontal,
GripVertical,
HardDrive,
Hash,
Headphones,
Heart,
History,
House,
Image,
Inbox,
Info,
Italic,
Key,
Keyboard,
Languages,
Laptop,
Layers,
LayoutDashboard,
LayoutGrid,
LayoutList,
Lightbulb,
Link,
Link2,
List,
ListChecks,
ListFilter,
ListOrdered,
Loader,
LoaderCircle,
Lock,
LockOpen,
LogIn,
LogOut,
Mail,
Map,
MapPin,
Maximize,
Maximize2,
Menu,
MessageCircle,
MessageSquare,
Mic,
MicOff,
Minimize,
Minimize2,
Minus,
Monitor,
Moon,
MousePointer,
Move,
OctagonAlert,
Package,
Palette,
PanelLeft,
PanelRight,
Paperclip,
Pause,
Pencil,
Phone,
Pin,
Pipette,
Play,
Plus,
Power,
Printer,
Puzzle,
Quote,
Redo2,
RefreshCw,
Repeat,
Rocket,
RotateCcw,
RotateCw,
Rows2,
Rss,
Save,
Scissors,
Search,
Send,
Server,
Settings,
Settings2,
Share,
Share2,
Shield,
ShieldCheck,
ShoppingBag,
ShoppingCart,
Shrink,
Shuffle,
SkipBack,
SkipForward,
SlidersHorizontal,
Smartphone,
Smile,
Sparkles,
Square,
SquareCheck,
SquarePen,
Star,
Strikethrough,
Sun,
SunMoon,
Table,
Tablet,
Tag,
Tags,
Terminal,
TextAlignCenter,
TextAlignEnd,
TextAlignStart,
ThumbsDown,
ThumbsUp,
Timer,
Trash,
Trash2,
TrendingDown,
TrendingUp,
TriangleAlert,
Truck,
Type,
Underline,
Undo2,
Unlink,
Upload,
User,
UserCheck,
UserMinus,
UserPlus,
Users,
Video,
Volume2,
VolumeX,
Wallet,
WandSparkles,
Wifi,
WifiOff,
Wrench,
X,
Zap,
ZoomIn,
ZoomOut,
}Expand description
A Lucide icon embedded in this crate (HeroGPUI extension).
Each variant is the Lucide icon of the same name in PascalCase
(circle-check is IconName::CircleCheck). The set is
curated, not all of Lucide, and grows in minor releases, which is
why the enum is #[non_exhaustive].
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Activity
Lucide activity.
AlarmClock
Lucide alarm-clock.
Archive
Lucide archive.
ArrowDown
Lucide arrow-down.
ArrowDownLeft
Lucide arrow-down-left.
ArrowDownRight
Lucide arrow-down-right.
ArrowDownToLine
Lucide arrow-down-to-line.
ArrowLeft
Lucide arrow-left.
ArrowLeftRight
Lucide arrow-left-right.
ArrowRight
Lucide arrow-right.
ArrowUp
Lucide arrow-up.
ArrowUpDown
Lucide arrow-up-down.
ArrowUpLeft
Lucide arrow-up-left.
ArrowUpRight
Lucide arrow-up-right.
ArrowUpToLine
Lucide arrow-up-to-line.
AtSign
Lucide at-sign.
Ban
Lucide ban.
Battery
Lucide battery.
Bell
Lucide bell.
BellOff
Lucide bell-off.
Bold
Lucide bold.
Book
Lucide book.
BookOpen
Lucide book-open.
Bookmark
Lucide bookmark.
Bot
Lucide bot.
Box
Lucide box.
Briefcase
Lucide briefcase.
Bug
Lucide bug.
Building
Lucide building.
Calendar
Lucide calendar.
CalendarDays
Lucide calendar-days.
Camera
Lucide camera.
ChartBar
Lucide chart-bar.
ChartColumn
Lucide chart-column.
ChartLine
Lucide chart-line.
ChartPie
Lucide chart-pie.
Check
Lucide check.
CheckCheck
Lucide check-check.
ChevronDown
Lucide chevron-down.
ChevronLeft
Lucide chevron-left.
ChevronRight
Lucide chevron-right.
ChevronUp
Lucide chevron-up.
ChevronsDown
Lucide chevrons-down.
ChevronsLeft
Lucide chevrons-left.
ChevronsRight
Lucide chevrons-right.
ChevronsUp
Lucide chevrons-up.
ChevronsUpDown
Lucide chevrons-up-down.
Circle
Lucide circle.
CircleAlert
Lucide circle-alert.
CircleCheck
Lucide circle-check.
CircleDot
Lucide circle-dot.
CircleHelp
Lucide circle-help.
CircleMinus
Lucide circle-minus.
CirclePlus
Lucide circle-plus.
CircleUser
Lucide circle-user.
CircleX
Lucide circle-x.
Clipboard
Lucide clipboard.
ClipboardCheck
Lucide clipboard-check.
ClipboardCopy
Lucide clipboard-copy.
Clock
Lucide clock.
Cloud
Lucide cloud.
CloudDownload
Lucide cloud-download.
CloudUpload
Lucide cloud-upload.
Code
Lucide code.
CodeXml
Lucide code-xml.
Columns2
Lucide columns-2.
Command
Lucide command.
Compass
Lucide compass.
Contrast
Lucide contrast.
Copy
Lucide copy.
CornerDownLeft
Lucide corner-down-left.
Cpu
Lucide cpu.
CreditCard
Lucide credit-card.
Crop
Lucide crop.
Database
Lucide database.
DollarSign
Lucide dollar-sign.
Download
Lucide download.
Droplet
Lucide droplet.
Ellipsis
Lucide ellipsis.
EllipsisVertical
Lucide ellipsis-vertical.
Expand
Lucide expand.
ExternalLink
Lucide external-link.
Eye
Lucide eye.
EyeOff
Lucide eye-off.
File
Lucide file.
FileCode
Lucide file-code.
FilePlus
Lucide file-plus.
FileText
Lucide file-text.
Files
Lucide files.
Film
Lucide film.
Flag
Lucide flag.
Folder
Lucide folder.
FolderOpen
Lucide folder-open.
FolderPlus
Lucide folder-plus.
Funnel
Lucide funnel.
Gift
Lucide gift.
GitBranch
Lucide git-branch.
GitCommitHorizontal
Lucide git-commit-horizontal.
GitMerge
Lucide git-merge.
GitPullRequest
Lucide git-pull-request.
Globe
Lucide globe.
GraduationCap
Lucide graduation-cap.
Grid2x2
Lucide grid-2x2.
GripHorizontal
Lucide grip-horizontal.
GripVertical
Lucide grip-vertical.
HardDrive
Lucide hard-drive.
Hash
Lucide hash.
Headphones
Lucide headphones.
Heart
Lucide heart.
History
Lucide history.
House
Lucide house.
Image
Lucide image.
Inbox
Lucide inbox.
Info
Lucide info.
Italic
Lucide italic.
Key
Lucide key.
Keyboard
Lucide keyboard.
Languages
Lucide languages.
Laptop
Lucide laptop.
Layers
Lucide layers.
LayoutDashboard
Lucide layout-dashboard.
LayoutGrid
Lucide layout-grid.
LayoutList
Lucide layout-list.
Lightbulb
Lucide lightbulb.
Link
Lucide link.
Link2
Lucide link-2.
List
Lucide list.
ListChecks
Lucide list-checks.
ListFilter
Lucide list-filter.
ListOrdered
Lucide list-ordered.
Loader
Lucide loader.
LoaderCircle
Lucide loader-circle.
Lock
Lucide lock.
LockOpen
Lucide lock-open.
LogIn
Lucide log-in.
LogOut
Lucide log-out.
Lucide mail.
Map
Lucide map.
MapPin
Lucide map-pin.
Maximize
Lucide maximize.
Maximize2
Lucide maximize-2.
Menu
Lucide menu.
MessageCircle
Lucide message-circle.
MessageSquare
Lucide message-square.
Mic
Lucide mic.
MicOff
Lucide mic-off.
Minimize
Lucide minimize.
Minimize2
Lucide minimize-2.
Minus
Lucide minus.
Monitor
Lucide monitor.
Moon
Lucide moon.
MousePointer
Lucide mouse-pointer.
Move
Lucide move.
OctagonAlert
Lucide octagon-alert.
Package
Lucide package.
Palette
Lucide palette.
PanelLeft
Lucide panel-left.
PanelRight
Lucide panel-right.
Paperclip
Lucide paperclip.
Pause
Lucide pause.
Pencil
Lucide pencil.
Phone
Lucide phone.
Pin
Lucide pin.
Pipette
Lucide pipette.
Play
Lucide play.
Plus
Lucide plus.
Power
Lucide power.
Printer
Lucide printer.
Puzzle
Lucide puzzle.
Quote
Lucide quote.
Redo2
Lucide redo-2.
RefreshCw
Lucide refresh-cw.
Repeat
Lucide repeat.
Rocket
Lucide rocket.
RotateCcw
Lucide rotate-ccw.
RotateCw
Lucide rotate-cw.
Rows2
Lucide rows-2.
Rss
Lucide rss.
Save
Lucide save.
Scissors
Lucide scissors.
Search
Lucide search.
Send
Lucide send.
Server
Lucide server.
Settings
Lucide settings.
Settings2
Lucide settings-2.
Lucide share.
Lucide share-2.
Shield
Lucide shield.
ShieldCheck
Lucide shield-check.
ShoppingBag
Lucide shopping-bag.
ShoppingCart
Lucide shopping-cart.
Shrink
Lucide shrink.
Shuffle
Lucide shuffle.
SkipBack
Lucide skip-back.
SkipForward
Lucide skip-forward.
SlidersHorizontal
Lucide sliders-horizontal.
Smartphone
Lucide smartphone.
Smile
Lucide smile.
Sparkles
Lucide sparkles.
Square
Lucide square.
SquareCheck
Lucide square-check.
SquarePen
Lucide square-pen.
Star
Lucide star.
Strikethrough
Lucide strikethrough.
Sun
Lucide sun.
SunMoon
Lucide sun-moon.
Table
Lucide table.
Tablet
Lucide tablet.
Tag
Lucide tag.
Tags
Lucide tags.
Terminal
Lucide terminal.
TextAlignCenter
Lucide text-align-center.
TextAlignEnd
Lucide text-align-end.
TextAlignStart
Lucide text-align-start.
ThumbsDown
Lucide thumbs-down.
ThumbsUp
Lucide thumbs-up.
Timer
Lucide timer.
Trash
Lucide trash.
Trash2
Lucide trash-2.
TrendingDown
Lucide trending-down.
TrendingUp
Lucide trending-up.
TriangleAlert
Lucide triangle-alert.
Truck
Lucide truck.
Type
Lucide type.
Underline
Lucide underline.
Undo2
Lucide undo-2.
Unlink
Lucide unlink.
Upload
Lucide upload.
User
Lucide user.
UserCheck
Lucide user-check.
UserMinus
Lucide user-minus.
UserPlus
Lucide user-plus.
Users
Lucide users.
Video
Lucide video.
Volume2
Lucide volume-2.
VolumeX
Lucide volume-x.
Wallet
Lucide wallet.
WandSparkles
Lucide wand-sparkles.
Wifi
Lucide wifi.
WifiOff
Lucide wifi-off.
Wrench
Lucide wrench.
X
Lucide x.
Zap
Lucide zap.
ZoomIn
Lucide zoom-in.
ZoomOut
Lucide zoom-out.
Implementations§
Source§impl IconName
impl IconName
Sourcepub const fn path(self) -> &'static str
pub const fn path(self) -> &'static str
The asset path HeroGpuiAssets
serves this icon under, e.g.
"herogpui/icons/lucide/circle-check.svg".
Source§impl IconName
impl IconName
Sourcepub fn from_name(name: &str) -> Option<Self>
pub fn from_name(name: &str) -> Option<Self>
The icon Lucide calls name (kebab-case, as in IconName::name).
Sourcepub fn path_with_stroke_width(self, width: f32) -> SharedString
pub fn path_with_stroke_width(self, width: f32) -> SharedString
The asset path of this icon drawn with width as its stroke width
(in the 24-unit viewBox; Lucide’s default is
DEFAULT_STROKE_WIDTH): path with a
?stroke-width=<w> query that
HeroGpuiAssets serves as the rewritten
file. The width is rounded to three decimals and negative widths
count as zero; the default width, and a non-finite one, give the
plain path.
Sourcepub fn from_path(path: &str) -> Option<Self>
pub fn from_path(path: &str) -> Option<Self>
The icon whose IconName::path is path.
Trait Implementations§
impl Copy for IconName
impl Eq for IconName
Source§impl Ord for IconName
impl Ord for IconName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for IconName
impl PartialOrd for IconName
impl StructuralPartialEq for IconName
Auto Trait Implementations§
impl Freeze for IconName
impl RefUnwindSafe for IconName
impl Send for IconName
impl Sync for IconName
impl Unpin for IconName
impl UnsafeUnpin for IconName
impl UnwindSafe for IconName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more