• Home
  • Getting started
  • Foundation
    • Accessibility
    • Colour
    • Design principles
    • Typography
    • Iconography
    • Pictograms
    • Illustrations
    • Brand assets
    • Motion
  • Components
  • Patterns
  • Writing (SE)
  • Guidelines
  • Brand portal

Search the design system

Foundation

Illustrations

Explore the illustrations available in the installed @svenskaspel/ui package. Each preview uses the actual React component and follows the active theme.

Illustration library

Open an illustration's code example to find its public import and decorative usage. The library updates automatically when the UI package changes and the documentation is rebuilt.

Read the usage and accessibility guidance.

Anticipation
Care
GamingLimits
GivingBack
Joy
Onboarding
PlayEasy
PlayTogether
Sport
Winning

Usage and accessibility

Import illustrations individually from @svenskaspel/ui/react/illustrations, then add the component name to the end of the path. Their SVG proportions are preserved. Use CSS width or max-width with height set to auto when resizing them, and keep the theme's illustration colours.

Decorative illustrations repeat a message that is already available as text, such as “A reward is waiting for you.” Hide them from assistive technology with aria-hidden="true".

If an illustration conveys information that is not available in nearby text, give it role="img" and an aria-label that describes its message in context. A component name alone is usually not a useful alternative text. Keep instructions and actions available as text and controls.

A reward is waiting for you.
Collect it before Sunday.
<Anticipation aria-hidden="true" />
Benefits
Explore what is included with your account.
<Anticipation role="img" aria-label="A wrapped reward is waiting for you." />
FoundationPictograms / Code
FoundationBrand assets / Overview

© DesignTech - AB Svenska Spel

What's newTerms of useAccessibility statementCookiesTeams channel [Internal]@svenskaspel/ui version
4.4.0

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