Skip to main content
Version: Next (5.0)

Icons

AWE 5 draws its icons with Lucide line icons (ISC licence) in both engines. Look for an icon that suits the concept you want to show and put its name in the icon attribute (or in the value, for the icon columns of a grid).

An icon name has the structure:

family:icon_name

Where family is one of the families described below. Without family the name is a Font Awesome 4 name.

Both engines render a Lucide icon the same way: an inline svg that uses the shared sprite icons/lucide-sprite.svg (generated from the pinned lucide-static 1.61.0), with the size of the --awe-size-icon tokens and the colour of the parent text (currentColor). The icons are decorative (aria-hidden="true"): give an icon-only button a label or a tooltip. The element keeps the XML name in its data-icon attribute.

Extra classes can follow the icon name, separated by spaces. The Font Awesome modifiers fa-spin, fa-pulse and fa-lg become awe-icon-spin (no animation with reduced motion) and awe-icon-lg on a Lucide icon:

icon="refresh fa-spin"

Font Awesome 4.7.0 icons (fa)​

The default icon family (coming from AWE 3 version) uses the names of Font Awesome 4.7.0. The existing screens need no change: every Font Awesome name of the equivalence table is drawn with its Lucide icon. During the transition to AWE 5, a name without equivalence keeps its Font Awesome font.

Put the name of the icon in the icon attribute without family, with the fa- prefix or with the fa family:

icon="check"
icon="fa:check"

Material Design Icons (mdi)​

The mdi family uses the names of the Google Material Icons ligatures. Every name of the equivalence table is drawn with its Lucide icon; during the transition, a name without equivalence keeps the Material Icons font.

Put the family name mdi before the icon name:

icon="mdi:home"

Lucide icons (lucide)​

The lucide family gives the whole Lucide set of lucide-static 1.61.0: use the names of the Lucide icons page. Former Lucide names that the set keeps as aliases also work. Use this family for new screens: the icon is exactly the one you choose, without equivalence.

icon="lucide:calendar-days"

An unknown Lucide name shows no icon, and the browser console warns once about it.

Equivalence table​

The table lives with the design tokens (awe-framework/awe-design-tokens/icons/icon-equivalences.json) and both engines and the server templates read it. It covers every icon name used in the AWE screens.

Font Awesome​

XML iconLucide
align-justifytext-align-justify
align-lefttext-align-start
align-righttext-align-end
angle-double-downchevrons-down
angle-double-upchevrons-up
angle-downchevron-down
angle-upchevron-up
area-chartchart-area
arrow-circle-leftcircle-arrow-left
arrow-circle-o-leftcircle-arrow-left
arrow-circle-o-rightcircle-arrow-right
arrow-circle-rightcircle-arrow-right
arrow-circle-upcircle-arrow-up
arrow-downarrow-down
arrow-leftarrow-left
arrow-rightarrow-right
arrow-uparrow-up
banban
bar-chartchart-column
bar-chart-ochart-column
barsmenu
bellbell
bell-obell
bookbook
calculatorcalculator
calendarcalendar
cameracamera
camera-retrocamera
caret-square-o-downsquare-chevron-down
checkcheck
check-circle-ocircle-check
chevron-circle-leftcircle-chevron-left
chevron-circle-rightcircle-chevron-right
chevron-downchevron-down
chevron-rightchevron-right
chevron-upchevron-up
circlecircle
circle-ocircle
clipboardclipboard
clock-oclock
closex
cloudcloud
code-forkgit-fork
cogsettings
cogscog
columnscolumns-2
commentmessage-circle
compasscompass
compressshrink
databasedatabase
dollardollar-sign
dot-circle-ocircle-dot
downloaddownload
editpencil
ellipsis-vellipsis-vertical
envelopemail
envelope-omail
erasereraser
exchangearrow-right-left
exclamation-circlecircle-alert
exclamation-triangletriangle-alert
expandexpand
eyeeye
eye-slasheye-off
eyedropperpipette
file-textfile-text
file-text-ofile-text
filterfunnel
flashzap
flaskflask-conical
floppy-osave
folderfolder
fonttype
gearscog
globeglobe
groupusers
homehouse
hourglass-halfhourglass
imageimage
inboxinbox
infoinfo
info-circleinfo
keykey
keyboard-okeyboard
languagelanguages
laptoplaptop
level-downcorner-right-down
level-upcorner-right-up
line-chartchart-line
listlist
list-altlayout-list
list-ollist-ordered
list-ullist
locklock
long-arrow-rightmove-right
magicwand-sparkles
minusminus
minus-circlecircle-minus
minus-squaresquare-minus
mobilesmartphone
object-groupgroup
paint-brushpaintbrush
paper-planesend
pausepause
pencilpencil
pencil-square-osquare-pen
picture-oimage
pie-chartchart-pie
playplay
plugplug
plusplus
plus-circlecircle-plus
plus-squaresquare-plus
printprinter
puzzle-piecepuzzle
questioncircle-question-mark
question-circlecircle-question-mark
recyclerecycle
refreshrefresh-cw
repeatrotate-cw
retweetrepeat-2
rotate-leftrotate-ccw
rssrss
savesave
searchsearch
serverserver
shieldshield
sign-inlog-in
sign-outlog-out
sitemapnetwork
sliderssliders-horizontal
sortchevrons-up-down
sort-alpha-ascarrow-down-a-z
sort-alpha-descarrow-down-z-a
sort-ascchevron-up
sort-descchevron-down
spinnerloader-circle
star-ostar
step-forwardstep-forward
stopsquare
tabletable
taskslist-checks
terminalterminal
text-widthletter-spacing
thgrid-3x3
th-largegrid-2x2
ticketticket
timesx
tintdroplet
trashtrash
undoundo-2
unlock-altlock-open
uploadupload
useruser
warningtriangle-alert
window-maximizemaximize
window-restoreminimize
wrenchwrench

Material Icons (mdi)​

XML iconLucide
mdi:analyticschart-column
mdi:arrow_backarrow-left
mdi:auto_fix_highwand-sparkles
mdi:autorenewrefresh-cw
mdi:backspacedelete
mdi:blockban
mdi:calendar_monthcalendar-days
mdi:calendar_todaycalendar
mdi:content_copycopy
mdi:dark_modemoon
mdi:developer_boardcircuit-board
mdi:donut_smallchart-pie
mdi:helpcircle-question-mark
mdi:homehouse
mdi:insightschart-spline
mdi:keyboardkeyboard
mdi:light_modesun
mdi:mapmap
mdi:menumenu
mdi:person_outlineuser
mdi:printprinter
mdi:receipt_longreceipt-text
mdi:routeroute
mdi:savesave
mdi:scienceflask-conical
mdi:searchsearch
mdi:storefrontstore
mdi:table_charttable-2
mdi:table_viewtable
mdi:toystoy-brick
mdi:vertical_splitcolumns-2
mdi:view_carouselgallery-horizontal

Names without equivalence​

These names have no Lucide equivalence. During the transition the brand icons keep their Font Awesome font; the other names are not Font Awesome 4 icons, so they show nothing, as they did before AWE 5:

XML iconReason
clocknot a Font Awesome 4 icon (clock-o is): renders nothing today
mail-closednot a Font Awesome 4 icon: renders nothing today
ok-signGlyphicons name, not Font Awesome 4: renders nothing today
rebelbrand icon: Lucide has no brand icons
remove-signGlyphicons name, not Font Awesome 4: renders nothing today
signinGlyphicons-like name, not Font Awesome 4 (sign-in is): renders nothing today
squarebarnot a Font Awesome 4 icon: renders nothing today
youtube-playbrand icon: Lucide has no brand icons