How to add Icons + Reference

How to add Icons + Reference

| Website Documentation / How To

Icons can be added to the website using either raw SVG code or through an img tag referencing files at a specific path. This documentation demonstrates these methods and includes a reference of the icons available. The icons are part of the Lucide icon toolkit. Note: this is an advanced feature, please connect with a Webteam member if you'd like some help!

Adding icons as inline SVG 

Icons can be added as inline SVG code by just adding the SVG code through the WYSIWYG editor (using Unfiltered HTML) or adding the code to template files for content types, views or paragraphs. You can find the code for each icon by inspecting the icons below or visiting the Lucide icon toolkit and using their search tools. Icons will come with the default height and width of 24px, this can be changed with the height="18px" -and- width="18px" properties in the image code. You can replace the size with whatever is needed, but both values should be the same…

Adding icons through <img> tag

All of the icons are stored on the website and can be used using an <img> tag referencing them a specific path — …/themes/custom/tyndale/icons/[icon-name].svg It can also be helpful to add elements to the code such as an empty alt tag alt="" and height and width information width="20" height="20". You can view the most commonly used icon names below — other icon options are available.

Most Used Icons

folders

tag

download

alert-triangle

link

map-pin

phone

mail

check-circle

cheveron-down

cheveron-left

cheveron-right

cheveron-up

file

info

thumbs-up

Additional Icon Options

accessibility

apple

archive

arrow-down

arrow-left

arrow-right

arrow-up

asterisk

at-sign

award

backpack

bed-single

bell

book-open

book

bookmark

box

bus

calender-days

calendar

camera

check-square

check

chevrons-down

chevrons-left

chevrons-right

chevrons-up

clock-3

cloud-snow

code-2

coffee

compass

credit-card

cup-soda

edit

external-link

facebook

file-check-2

file-text

file-x-2

files

film

flag

flame

flask-conical

flower-2

folder-check

folder-open

forward

gift

glass-water

glasses

globe

graduation-cap

grid

headphones

heart-handshake

heart

help-circle

hexagon

home

image

import

instagram

lamp-desk

laptop

leaf

life-buoy

lightbulb

linkedin

list-checks

mail

map

message-circle

message-square

mic

milestone

monitor

music

network

newspaper

octagon

paperclip

pencil

pie-chart

pin

pizza

play

podcast

rocket

rss

shirt

skull

snowflake

stethoscope

stick-note

ticket

train

twitter

user

users

watch

wifi

wrench

x-circle

x-square

youtube