Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Layouts
  • Getting Started
    • Create a theme
    • Develop a theme
    • Setup a theme
    • Publish a theme
  • Requirements & Review
    • Overview
    • Main Requirements
    • Review Process
      • UI / UX Review
      • Technical Review
      • Metadata Review
      • Pre-Launch Review
  • Files and Folders Structure
    • Directory structure
    • Twilight.json
  • Twig Template Engine
    • Basic syntax
    • Twilight flavoured twig
  • Theme Architecture
    • Layouts
      • Overview
      • Master Layout
      • Global Variables
      • CSS Variables
      • Salla Icons
      • Custom Fonts
      • Hooks
      • Localizations
    • Pages
      • Overview
      • Home Page
      • Product Pages
        • Products listing
        • Single product
      • Customer Pages
        • Profile
        • Orders list
        • Order details
        • Wishlist
        • Notifications
      • Blog Pages
        • Blog listing
        • Single blog
      • Brand Pages
        • Brands listing
        • Single brand
      • Common Pages
        • Cart
        • Loyalty
        • Thank you
        • Single page
        • Landing Page
    • Componenets
      • Overview
      • Home Components
        • Youtube
        • Fixed banner
        • Testimonials
        • Parallax background
        • Photos slider
        • Store features
        • Square photos
        • Fixed products
        • Products slider
        • Featured products - Style 1
        • Featured Products - Style 2
        • Featured Products - Style 3
        • Brands
        • Enhanced Square Banners
        • Main Links
        • Enhanced Slider
        • Slider Products with Headers
        • Latest Products
        • Vertical Menu with Slider
      • Product Components
        • Essentials
        • Options
      • Common Components
        • Header Components
        • Footer Components
        • Comments component
  • Change Log
  1. Layouts

Salla Icons

Salla Icons is an icon library that can be easily integrated into a Twilight theme. It allows developers to add scalable vector icons to their website without the need for additional images. In this article, we'll go over the steps to add Salla Icons to a Twilight theme and show some examples of how to use it.
To see a full example of the available icons, the developer can check out the following Codepen example here.
A thing to know!
The above example provides a comprehensive list of the icons available in Salla Icons and demonstrates how to use them in a variety of contexts.

📙 What you'll learn#

How to use Salla Icons
How to browse Salla Icons in an IcoMoon App

How to use Salla Icons#

The first step to using Salla Icons in a Twilight theme is to make sure that icons library's CSS file in the theme's head section. Developer can either link to the CSS file hosted on the Salla Icons website or download it and host it on your own server:
Once the CSS file is linked, you can start using Salla icons on the theme by using the appropriate class names.
Information
By default, each Twilight theme includes the Salla Icons library

Usage#

For example, to add a sicon-discount-calculator icon, the developer can use the following code:
Developer can also use Salla Icons in conjunction with other HTML elements, such as buttons. For example, to create a "Add to Cart" button with a shopping cart icon sicon-add-to-cart, you can use the following code:
Developer can also use Font Salla Icons with liquid variables, for example, to show the number of items in the cart:

Browsing Salla Icons in an IcoMoon#

Salla Icons can be browsed and used from IcoMoon, a popular online icon library and tool for creating custom icon fonts. First, visit IcoMoon, and then follow the following steps:
1.
Download the Salla Icons Library from here. Note: Click "s+ctrl" in windows or "Cmd -t" in Mac OS, to save the file locally.
2.
Inside IcoMoon, go to IcoMoonApp.
3.
Click on Import Icon on the upper left of the page.
4.
Import the file downloaded in step 1.
5.
Choose the Icons you wish to use by clicking on the Icon. The selected Icons will chage color if selected.
image.png
7.
Click on Generate Font F on th bottom right of the page
image.png
8.
Click on prefrences to enter a prefix
image.png
9.
Enter prefix "sicon-"
image.png
10.
Click Download to download the zip file for the Icons
image.png
11.
Extract the floder
12.
Open Demo file, which will display the list of Icons with Salla Icon prefix
image.png
The list of Salla Icons are now available for the developer to use in the themes.
Modified at 2025-03-06 13:08:43
Previous
CSS Variables
Next
Custom Fonts