Shopware 6 Storefront Icons

Shopware 6 offers a wide range of SVG icons that can be used directly in the storefront, for example, for navigation, shopping carts, or customer accounts. The icons are divided into two sets: default and solid.

You can find the SVG files in the Shopware installation directory at the following path:
- vendor/shopware/storefront/Resources/app/storefront/dist/assets/icon/
- public/bundles/storefront/assets/icon/

Shopware 6 Storefront Icons

  • 3d-placeholder
  • address
  • alert
  • align-center
  • align-justify
  • align-left
  • align-right
  • arrow-360-left
  • arrow-360-right
  • arrow-circle-down
  • arrow-circle-left
  • arrow-circle-right
  • arrow-circle-up
  • arrow-down
  • arrow-head-down
  • arrow-head-left
  • arrow-head-right
  • arrow-head-up
  • arrow-left
  • arrow-move-horizontal-axis
  • arrow-move-vertical-axis
  • arrow-right
  • arrow-scroll
  • arrow-simple-long-right
  • arrow-switch
  • arrow-turn-left
  • arrow-turn-right
  • arrow-up
  • arrow-up-down
  • augmented
  • avatar
  • avatar-multiple
  • bag
  • bag-product
  • basket
  • beer
  • bell-bell
  • bell-crossed
  • blocked
  • bold
  • bookmark
  • books
  • briefcase
  • browser
  • bug
  • bulk-edit
  • calendar
  • calendar-empty
  • cart
  • chart
  • chart-bar
  • chart-bar-filled
  • chart-pie
  • chart-sales
  • checkmark
  • checkmark-block
  • checkmark-circle
  • checkmark-wide
  • checkmark-wide-block
  • circle
  • circle-download
  • circle-upload
  • clock
  • cloud-download
  • cloud-upload
  • cockpit
  • code
  • colorpicker
  • content
  • cube-3d-shade
  • dashboard
  • database
  • debug
  • desktop
  • document-view
  • drag-horizontal
  • drag-vertical
  • duplicate
  • editor-align-left
  • editor-align-right
  • editor-bold
  • editor-code
  • editor-expand
  • editor-italic
  • editor-link
  • editor-list
  • editor-list-numberd
  • editor-list-unordered
  • editor-media
  • editor-re-undo
  • editor-redo
  • editor-shrink
  • editor-strikethrough
  • editor-style
  • editor-subscript
  • editor-superscript
  • editor-table
  • editor-underline
  • editor-undo
  • emoji
  • envelope
  • error
  • euro
  • external
  • eye-crossed
  • eye-open
  • file
  • filter
  • flag
  • floor-ar-splash
  • folder-thumbnail
  • forward
  • gamecontroler
  • globe
  • gps
  • grab
  • graduate-cap
  • handtouch
  • harddisk
  • headset
  • heart
  • heart-fill
  • help
  • history
  • home
  • hourglass
  • image
  • inbox
  • infinity
  • info
  • italic
  • keyboard
  • lab-flask
  • laptop
  • layers
  • layout
  • lightbulb
  • link
  • list
  • loading-circle
  • loading-star
  • lock-closed
  • lock-fingerprint
  • lock-key
  • lock-open
  • log-in
  • log-out
  • map
  • map-closed
  • map-open
  • marker
  • marketing
  • medal
  • micophone
  • minus
  • minus-block
  • minus-circle
  • minus-wide
  • mobile
  • money-card
  • money-cash
  • money-wallet
  • moon
  • more-horizontal
  • more-vertical
  • move-file
  • package-closed
  • package-gift
  • package-open
  • paint
  • paper-pencil
  • paper-pencil-signed
  • paperclip
  • paperplane
  • pause
  • pawn
  • pencil-brush
  • phone
  • photocamera
  • placeholder
  • plastic-bag
  • play
  • plug
  • plus
  • plus-block
  • plus-circle
  • plus-wide
  • preview
  • printer
  • products
  • pulse
  • pushpin
  • puzzle-piece
  • quickjump
  • quote
  • replace
  • reply
  • rocket
  • rule
  • ruler-pencil
  • save
  • screen-full
  • screen-minimize
  • search
  • server
  • settings
  • share
  • shield
  • shop
  • shopware
  • sidebar-close
  • sidebar-open
  • sliders
  • sliders-horizontal
  • sofa
  • sort-down
  • sort-up
  • sparkles
  • speech-bubble
  • speech-bubbles
  • square
  • stack
  • stack-block
  • stack-circle
  • star
  • star-half
  • sun
  • surface
  • tablet
  • tags
  • target-big
  • target-with-block
  • terminal
  • text-table
  • thumb-down
  • thumb-up
  • tools
  • traffic-pawn
  • trash
  • tray-down
  • tray-up
  • triangle
  • trophy
  • truck
  • underline
  • variants
  • video-camera
  • view-compact
  • view-grid
  • view-normal
  • view-split
  • warning
  • x
  • x-block
  • x-circle
  • x-wide

How to Use Shopware Icons in Twig Templates

Shopware icons can be integrated directly into Twig templates using the sw_icon tag. Simply specify the name of the desired icon.

 

Using an Icon from the Default Set

{% sw_icon 'cart' %}

 

Using an Icon from the Solid Set

{% sw_icon 'cart' style { 'pack': 'solid' } %}

How to Use Shopware Icons in Shopping Experiences

To integrate Shopware 6 icons into Shopping Experiences or CMS blocks, follow these steps:

  1. Create an HTML element, such as <img>, within the CMS block.
  2. Set the src attribute of the <img> tag to the following path: /bundles/storefront/assets/icon/default/your-desired-icon-name.svg.
  3. Adjust the position of the <img> element using CSS as needed.

How to Store an Icon in a Twig Variable

If you want to use an icon multiple times within a template, you can first store its output in a variable.

{% block content %}
    {% set icon %}
        {% sw_icon 'sales' %}
    {% endset %}
    <div class="my-icon">{{ icon }}</div>
{% endblock %}

 

The icon variable can then be used elsewhere in the template.