Skip to content

TiendaNube/nimbus-icons-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nimbus Icons - PHP

This is a PHP version from Nimbus Icon

đź‘ľ See live demo here

Get started

This project using composer.

$ composer require tiendanube-nimbus/icons

How to use

<?php
use Nimbus\Icon;

// Icon::get(ICON_NAME, SIZE, COLOR)
$icon = Icon::get("home", 40, '#000000');
echo $icon;

Options

Params allowed on Icon::get() method

Param Type Required Default
$name string true null
$size int false 16
$color string false "#000000"

Available Icons

To use on $name param as string.

Available icons Preview
accordion
align-center
align-left
align-right
apps
archive
arrow-left
arrow-right
arrows-horizontal
arrows-vertical
backspace
barcode
bold
box-packed
box-unpacked
briefcase
browser
browser-search
calendar-days
calendar
camera
cash
chat-dots
check-circle
check
chevron-down
chevron-left
chevron-right
chevron-up
christ
clock
close
code
cog
color-palette
copy
credit-card
desktop
discount-circle
diskette
download
drag-dots
drag
drink
drop
drums
duplicate
ecosystem
edit
ellipsis
exclamation-circle
exclamation-triangle
external-link
eye-off
eye
file-alt
file
fingerprint
fire
flag
font
forbidden
gift-box
gift-card
glasses
globe
guitar
heart
history
home
infinite
info-circle
invoice
italic
life-ring
lightbulb
link-off
link
list
location
lock-open
lock
log-out
mail
marketing
mate
menu
mobile
money
moon
notification
obelisk
ordered-list
pencil
peso
picture
pix
planet
plus-circle
printer
qr-code
pyramid
question-circle
real
redo
remove-format
rocket
scooter
search
share
shopping-cart
shot
size-height
size-width
sliders
star
stats
sticky-note
stop
store
sun
tag
telephone
text-size
tiendanube
tools
transfer-peso
transfer-real
trash
truck
undo
university
upload
user-circle
user-group
user
vertical-stacks
volume
wallet
whatsapp

Test locally

We have a simple docker file to test locally, run:

$ docker-compose up

And open: http://localhost/src/example.php to see live sample.