Skip to content
A simple helper lib for font-aweseome
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
faicons_helper.php

README.md

codeigniter-font-awesome-helper

Forgive the repository URL typo - :)

A simple helper lib for font-aweseome.

Feel free to add and make changes as you see fit. I use this on a few of my projects so any updates are appreciated.

Pretty easy to use. Save the file to application/helpers folder.

//Load it
$this->load->helper('faicons');
//use it
<h1>Here is an icon...</h1>
<?php echo fa_icon('ambulance') ?>
//or
<?php echo fa_icon('ambulance','fa-2x') ?>

#List of icons

adjust
adn
align-center
align-justify
align-left
align-right
ambulance
anchor
android
angellist
angle-double-down
angle-double-left
angle-double-right
angle-double-up
angle-down
angle-left
angle-right
angle-up
apple
archive
area-chart
arrow-circle-down
arrow-circle-left
arrow-circle-o-down
arrow-circle-o-left
arrow-circle-o-right
arrow-circle-o-up
arrow-circle-right
arrow-circle-up
arrow-down
arrow-left
arrow-right
arrow-up
arrows
arrows-alt
arrows-h
arrows-v
asterisk
at
automobile(alias)
backward
ban
bank(alias)
bar-chart
bar-chart-o(alias)
barcode
bars
bed
beer
behance
behance-square
bell
bell-o
bell-slash
bell-slash-o
bicycle
binoculars
birthday-cake
bitbucket
bitbucket-square
bitcoin(alias)
bold
bolt
bomb
book
bookmark
bookmark-o
briefcase
btc
bug
building
building-o
bullhorn
bullseye
bus
buysellads
cab(alias)
calculator
calendar
calendar-o
camera
camera-retro
car
caret-down
caret-left
caret-right
caret-square-o-down
caret-square-o-left
caret-square-o-right
caret-square-o-up
caret-up
cart-arrow-down
cart-plus
cc
cc-amex
cc-discover
cc-mastercard
cc-paypal
cc-stripe
cc-visa
certificate
chain(alias)
chain-broken
check
check-circle
check-circle-o
check-square
check-square-o
chevron-circle-down
chevron-circle-left
chevron-circle-right
chevron-circle-up
chevron-down
chevron-left
chevron-right
chevron-up
child
circle
circle-o
circle-o-notch
circle-thin
clipboard
clock-o
close(alias)
cloud
cloud-download
cloud-upload
cny(alias)
code
code-fork
codepen
coffee
cog
cogs
columns
comment
comment-o
comments
comments-o
compass
compress
connectdevelop
copy(alias)
copyright
credit-card
crop
crosshairs
css3
cube
cubes
cut(alias)
cutlery
dashboard(alias)
dashcube
database
dedent(alias)
delicious
desktop
deviantart
diamond
digg
dollar(alias)
dot-circle-o
download
dribbble
dropbox
drupal
edit(alias)
eject
ellipsis-h
ellipsis-v
empire
envelope
envelope-o
envelope-square
eraser
eur
euro(alias)
exchange
exclamation
exclamation-circle
exclamation-triangle
expand
external-link
external-link-square
eye
eye-slash
eyedropper
facebook
facebook-f(alias)
facebook-official
facebook-square
fast-backward
fast-forward
fax
female
fighter-jet
file
file-archive-o
file-audio-o
file-code-o
file-excel-o
file-image-o
file-movie-o(alias)
file-o
file-pdf-o
file-photo-o(alias)
file-picture-o(alias)
file-powerpoint-o
file-sound-o(alias)
file-text
file-text-o
file-video-o
file-word-o
file-zip-o(alias)
files-o
film
filter
fire
fire-extinguisher
flag
flag-checkered
flag-o
flash(alias)
flask
flickr
floppy-o
folder
folder-o
folder-open
folder-open-o
font
forumbee
forward
foursquare
frown-o
futbol-o
gamepad
gavel
gbp
ge(alias)
gear(alias)
gears(alias)
genderless(alias)
gift
git
git-square
github
github-alt
github-square
gittip(alias)
glass
globe
google
google-plus
google-plus-square
google-wallet
graduation-cap
gratipay
group(alias)
h-square
hacker-news
hand-o-down
hand-o-left
hand-o-right
hand-o-up
hdd-o
header
headphones
heart
heart-o
heartbeat
history
home
hospital-o
hotel(alias)
html5
ils
image(alias)
inbox
indent
info
info-circle
inr
instagram
institution(alias)
ioxhost
italic
joomla
jpy
jsfiddle
key
keyboard-o
krw
language
laptop
lastfm
lastfm-square
leaf
leanpub
legal(alias)
lemon-o
level-down
level-up
life-bouy(alias)
life-buoy(alias)
life-ring
life-saver(alias)
lightbulb-o
line-chart
link
linkedin
linkedin-square
linux
list
list-alt
list-ol
list-ul
location-arrow
lock
long-arrow-down
long-arrow-left
long-arrow-right
long-arrow-up
magic
magnet
mail-forward(alias)
mail-reply(alias)
mail-reply-all(alias)
male
map-marker
mars
mars-double
mars-stroke
mars-stroke-h
mars-stroke-v
maxcdn
meanpath
medium
medkit
meh-o
mercury
microphone
microphone-slash
minus
minus-circle
minus-square
minus-square-o
mobile
mobile-phone(alias)
money
moon-o
mortar-board(alias)
motorcycle
music
navicon(alias)
neuter
newspaper-o
openid
outdent
pagelines
paint-brush
paper-plane
paper-plane-o
paperclip
paragraph
paste(alias)
pause
paw
paypal
pencil
pencil-square
pencil-square-o
phone
phone-square
photo(alias)
picture-o
pie-chart
pied-piper
pied-piper-alt
pinterest
pinterest-p
pinterest-square
plane
play
play-circle
play-circle-o
plug
plus
plus-circle
plus-square
plus-square-o
power-off
print
puzzle-piece
qq
qrcode
question
question-circle
quote-left
quote-right
ra(alias)
random
rebel
recycle
reddit
reddit-square
refresh
remove(alias)
renren
reorder(alias)
repeat
reply
reply-all
retweet
rmb(alias)
road
rocket
rotate-left(alias)
rotate-right(alias)
rouble(alias)
rss
rss-square
rub
ruble(alias)
rupee(alias)
save(alias)
scissors
search
search-minus
search-plus
sellsy
send(alias)
send-o(alias)
server
share
share-alt
share-alt-square
share-square
share-square-o
shekel(alias)
sheqel(alias)
shield
ship
shirtsinbulk
shopping-cart
sign-in
sign-out
signal
simplybuilt
sitemap
skyatlas
skype
slack
sliders
slideshare
smile-o
soccer-ball-o(alias)
sort
sort-alpha-asc
sort-alpha-desc
sort-amount-asc
sort-amount-desc
sort-asc
sort-desc
sort-down(alias)
sort-numeric-asc
sort-numeric-desc
sort-up(alias)
soundcloud
space-shuttle
spinner
spoon
spotify
square
square-o
stack-exchange
stack-overflow
star
star-half
star-half-empty(alias)
star-half-full(alias)
star-half-o
star-o
steam
steam-square
step-backward
step-forward
stethoscope
stop
street-view
strikethrough
stumbleupon
stumbleupon-circle
subscript
subway
suitcase
sun-o
superscript
support(alias)
table
tablet
tachometer
tag
tags
tasks
taxi
tencent-weibo
terminal
text-height
text-width
th
th-large
th-list
thumb-tack
thumbs-down
thumbs-o-down
thumbs-o-up
thumbs-up
ticket
times
times-circle
times-circle-o
tint
toggle-down(alias)
toggle-left(alias)
toggle-off
toggle-on
toggle-right(alias)
toggle-up(alias)
train
transgender
transgender-alt
trash
trash-o
tree
trello
trophy
truck
try
tty
tumblr
tumblr-square
turkish-lira(alias)
twitch
twitter
twitter-square
umbrella
underline
undo
university
unlink(alias)
unlock
unlock-alt
unsorted(alias)
upload
usd
user
user-md
user-plus
user-secret
user-times
users
venus
venus-double
venus-mars
viacoin
video-camera
vimeo-square
vine
vk
volume-down
volume-off
volume-up
warning
wechat
weibo
weixin
whatsapp
wheelchair
wifi
windows
won
wordpress
wrench
xing
xing-square
yahoo
yelp
yen(alias)
youtube
youtube-play
youtube-square

You can’t perform that action at this time.