mbr/elm-chadcn/1.0.0

ChadCn.Icon

Provides the icon vocabulary used by ChadCn components.

Icons are represented independently of their renderer. Every icon currently uses Lucide 0.474.0 SVG geometry.

type Icon
= Activity
| AlertCircle
| AlertTriangle
| AppWindow
| Archive
| ArchiveX
| ArrowDown
| ArrowLeft
| ArrowLeftCircle
| ArrowLeftRight
| ArrowRight
| ArrowUp
| ArrowUpRight
| AudioLines
| BadgeCheck
| Bell
| Blocks
| Bluetooth
| Bold
| BookOpen
| Bookmark
| Bot
| Brain
| Building2
| Calculator
| Calendar
| Camera
| Captions
| Car
| ChartBar
| ChartLine
| ChartPie
| Check
| CheckCircle2
| ChevronDown
| ChevronLeft
| ChevronRight
| ChevronUp
| ChevronsLeft
| ChevronsRight
| ChevronsUpDown
| CircleAlert
| CircleCheck
| CircleDashed
| CircleHelp
| CirclePlus
| CircleUser
| CircleUserRound
| ClipboardPaste
| Clock
| Clock2
| Cloud
| Code
| Coffee
| Columns3
| Command
| Container
| Copy
| CornerUpLeft
| CornerUpRight
| CreditCard
| Database
| Download
| EllipsisVertical
| ExternalLink
| Eye
| EyeOff
| File
| FileArchive
| FileBarChart
| FileChartColumn
| FileCode
| FileSearch
| FileText
| FileWarning
| FlipHorizontal
| FlipVertical
| Folder
| FolderOpen
| FolderPlus
| FolderSearch
| Frame
| GalleryVerticalEnd
| Gauge
| GitBranch
| Globe
| GripVertical
| Heart
| HelpCircle
| Home
| Image
| Inbox
| Info
| Italic
| Keyboard
| Languages
| Layout
| LayoutDashboard
| LayoutGrid
| LifeBuoy
| Link
| List
| Loader
| Loader2
| Lock
| LockKeyhole
| LogOut
| Mail
| Map
| Maximize
| Menu
| MessageCircle
| MessageCircleQuestion
| MessageSquare
| Mic
| Minimize
| Minus
| Monitor
| Moon
| MoreHorizontal
| MoreVertical
| OctagonX
| Paintbrush
| Palette
| PanelLeft
| Paperclip
| Pencil
| PieChart
| Plus
| PlusCircle
| Presentation
| Radio
| RefreshCcw
| RefreshCw
| Repeat
| RotateCw
| Save
| Scissors
| Search
| Send
| Server
| Settings
| Settings2
| Share
| Shield
| ShoppingBag
| ShoppingCart
| Smile
| Sparkles
| Square
| Star
| StarOff
| StopCircle
| Sun
| Table
| Target
| Terminal
| TerminalSquare
| Thermometer
| ThumbsDown
| ThumbsUp
| Timer
| Trash
| Trash2
| TrendingDown
| TrendingUp
| TriangleAlert
| Tv
| Underline
| UploadCloud
| User
| UserRoundX
| Users
| Video
| Volume2
| VolumeOff
| VolumeX
| Wallet
| X
| Zap
| ZoomIn
| ZoomOut

Identifies an icon used by shadcn/ui independently of its rendered library.

render : Icon -> Svg msg

Renders an icon with its default SVG attributes.

Icons are decorative by default and inherit their stroke color from surrounding text.

renderWith : List (Attribute msg) -> Icon -> Svg msg

Renders an icon with additional SVG attributes.

Additional attributes are applied after the defaults so callers can set sizing, classes, and contextual data attributes.