• Home
  • Getting started
  • Way of thinking
  • Foundation
  • Components
    • Accordion
    • Badge
    • Brands
    • Bottom sheet
    • Button
    • Button Group
    • Card
    • Checkbox
    • Date Picker
    • Dialog
    • Dialog - contextual
    • Dots
    • Drawer
    • Dropdown
    • Icon Button
    • Input fields
    • Items menu
    • List Group
    • Loader
    • Media Object
    • Navigation Indicator
    • Progress
    • Radio Button Group
    • Radio pill
    • Ribbon
    • Sausage
    • Select
    • Speech bubble
    • Step Indicator
    • Table
    • Toast
  • Patterns
  • Content
  • Brands

Components

Icon Button

Hero Image

Play around with props, edit and copy code.

Properties

IconButton

Prop nameTypeDefault ValueDescription
childrennode
classNamestring

Icon

Prop nameTypeDefault ValueDescription
sizeunion'300'Set size of the icon
classNamestringAdd custom classes
colorunionSet the icon color
icon *unionWhich icon to show

Accessibility

This component has been validated to meet the WCAG 2.1 AA accessibility guidelines.

Additional information regarding accessibility of this component below.

The differences between icon and icon button is that icon button has a click response that follows the icon size, example icon-100 = 16 x16 px icon = 40 x 40 px click response. This means that icon size x 2.5 = click response size.

Read more about WCAG 2.1 AA.

Related

Hero Image

Components

Button

Hero Image

Foundation

Iconography

Hero Image

Components

Dialog

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]Powered by Trinidad-UI: 9.7.6

Feedback

We always want to improve the Design System and would be thrilled to get your feedback.

Please share your wisdom with us.

Microsoft Teams [internal]

Designsystem@svenskaspel.se