XLSMART · Digital Technology · Design system

XLSMART Design System

A tokenized foundation and component library, so products for XL, AXIS and Smartfren can be designed and shipped from one shared source.

My role
Product Designer, core contributor
Team
XLSMART Design Team
Scope
Tokens, components, guidelines
Tools
Figma variables & slots, Storybook
Status
v0.1, in progress
01 · Context

Three brands joined. Their interfaces didn't.

XLSMART was formed by merging XL Axiata and Smartfren. Overnight, one Digital Technology organization owned the web and app surfaces of XL, AXIS and Smartfren, plus a new XLSMART corporate brand, each with its own buttons, colors, spacing habits and naming.

As the company moved to consolidate products (a single XLSMART Store replacing three purchase flows, a redesigned xlsmart.co.id, a set of internal tools), every new screen was being drawn against a different reference. Designers rebuilt the same button per project. Developers received specs with hardcoded hex values that drifted from file to file.

The design team set out to build one system that new XLSMART products could start from on day one: semantic tokens for the foundations, components assembled from a small set of base parts, and documentation written for both designers and engineers.

Duplicate components

The same control existed in several files with different sizes and states, so "the primary button" depended on which project you opened.

Hardcoded values

Colors and spacing were pasted as raw hex and pixel values, with no shared name an engineer could map to code.

Missing states

Older components covered enabled, pressed and disabled only. Hover and keyboard focus were left to each developer to improvise.

02 · Principles

Five commitments for every component

We wrote these on the cover of the library file so nobody could miss them. A component isn't published until it meets all five.

Auto Layout

Every frame resizes with its content, so a longer Bahasa label never breaks a button.

Variants

Size, hierarchy and state are properties, not separate components to hunt for.

Atomic

Private base parts such as _buttonBase and _avatarBase feed every public component.

Components

Published to the team library with usage guidelines next to each one.

Micro-interaction

Hover, pressed, focus and loading are designed and prototyped, not left for later.

03 · Foundations

Tokens with names engineers can read

The core decision was to stop naming colors by what they look like and start naming them by what they do. Every value in a component now points to a semantic Figma variable that maps one-to-one to a code token.

colorcategory
/
backgroundproperty
/
primaryrole
/
solid-strongemphasis

The same four-part pattern covers color/text/…, color/icon/…, color/border/…, spacing/padding/…, spacing/gap/… and border/radius/…. During migration we also found legacy names such as border/brand/subtle (#8EA5F0) living beside the new color/border/brand/subtle (#99B4FF), which is exactly the kind of drift the namespace is meant to end.

background/primary/solid-strong#141652
background/primary/solid#1E22AA
background/primary/solid-subtle#2F36FC
background/primary/subtle-strong#BFD2FF
border/brand/subtle#99B4FF
background/neutral/solid-subtle#D1D3D4
background/neutral/subtle-strong#E8E9E8
text/disabled · icon/disabled#9FAFBB

Spacing

A 4-point scale, split into padding and gap so inner and outer spacing can evolve separately.

2xs
4px
xs
8px
sm
12px
md
16px
radius/full
9999

Title scale

Set in XLSMART Sans SemiBold. Line heights stay on the 4-point grid.

Medium20 / 28
Small18 / 24
XSmall16 / 24
2XSmall14 / 20
04 · Component deep-dive

Rebuilding the button from one base

The button was the first component we rebuilt, because it touches every flow from checkout to internal tools. The legacy version worked, but it was a grid of hand-made variants. The new one is assembled from a single private base.

Before · legacy Button
45variants
3sizes
3hierarchies
  • Small 32, Medium 40, Large 48
  • Primary, Secondary, Tertiary
  • Hover and Focus were added late, file by file
  • No loading state, so spinners were improvised per project
After · Button [New]
100variants
5sizes
1base component
  • xs 32, sm 40, md 48, lg 56, xl 64
  • Primary, Secondary, Tertiary and a new Gradation hierarchy for campaign moments
  • Default, Hover, Pressed, Focused, Disabled on every combination
  • Slots for leading icon, trailing icon and spinner inside _buttonBase
1Container carries the hierarchy (fill, border, radius/full) and the state.
2Text sets the label of the action, using the Title scale for its size.
3Leading icon slot reinforces the meaning of the action before the label.
4Trailing icon or spinner slot shows direction, or a loading state that keeps the button's width stable.

Try the component

A code rebuild of Button [New] using the values from the Figma variables. Change any property and the token table updates to show what the component resolves to.

Hierarchy
Size
State
Slots

Guidelines that answer real questions

Each guideline page walks through Anatomy, Variants, Usage, Emphasis, Size, Icons, Icon Only, Loading, Button Container and States. Wherever possible the examples come from XLSMART's own flows instead of generic placeholders.

High emphasisBayar
Medium emphasisSimpan
Low emphasisBatal

The emphasis rule: one high-emphasis action per view. Secondary actions step down to outlined, and dismissive actions step down to text. Buttons inside a container keep a 16px gap, and size steps (32, 40, 48) follow the surrounding density rather than the importance of the action.

✓ Do
Kamu Ingin Tipe SIM Card Apa?
eSIMAktif dalam 5 menit. Tanpa perlu tunggu kurir, langsung scan QR
Kartu SIM FisikKartu akan dikirim ke alamatmu (estimasi 1-3 hari kerja)
KembaliLanjut

Pair one primary with one secondary, primary on the right, so the next step in the purchase flow is unmistakable.

✕ Don't
Kamu Ingin Tipe SIM Card Apa?
eSIMAktif dalam 5 menit. Tanpa perlu tunggu kurir, langsung scan QR
Kartu SIM FisikKartu akan dikirim ke alamatmu (estimasi 1-3 hari kerja)
KembaliLanjut

Two primary buttons compete for attention, and the user has to read both labels to know which one moves them forward.

05 · Component deep-dive

The avatar, specified like an API

For the avatar we wrote the documentation in the same shape engineers use: a props table. The Figma properties, the Storybook controls and the code props share the same names, so a handoff conversation starts from an agreed vocabulary.

xl 48lg 40md 32sm 24xs 16 icon image RARARA text XSXSXSX
RA DT online · busy · away
RASTARET+4
Avatar Group uses a slot, so the count is content, not a variant
PropValuesDefaultNotes
sizexllgmdsmxsxl48, 40, 32, 24 and 16px. Pick by surface density, not importance.
shaperoundedsquareroundedRounded for people, square for teams, apps and organizations.
contenticonimagetexttextText falls back to initials when no photo is available.
showStatustruefalsetrueToggles the _avatarStatus badge.
statusonlinebusyawayonlineUses semantic success, danger and warning colors.
xs · table cell
ApproverRizqi Adi
sm · table row
Dewi Lestari
md · list item, toast
BPBudi P.Requested a review
xl · account footer
RARizqiProduct Designer
06 · Patterns

From parts to product moments

Once the base components were stable, we assembled them into patterns teams kept rebuilding: block messages for in-page feedback, empty states, and the package card that sells XLSMART products.

Block Message: info, warning and success share one layout and swap only semantic tokens.

You haven't created any reports yet
  • Try refreshing the page
  • Try searching the site
  • Go to the homepage
Create report

Empty state: illustration, title, recovery suggestions, one action.

Rekomendasi FWA · Flexmax 500 GB 100 Mbps 28 Hari · Jakarta
Rp990.000
Rp180.000
Beli

Main Paket card: badge, Title scale, strikethrough price and the Gradation button for promotions.

07 · How we work

A library that documents itself

Every component page in Figma follows the same order, and the same content is mirrored in Storybook with live controls and API docs. The library also keeps its own changelog, so teams can see what changed and when.

Audit

Collect every version of a component across XL, AXIS and Smartfren files and list the states each one covers.

Tokenize

Replace raw values with semantic variables and flag legacy names for migration.

Build the base

Create the private _base part with slots, then publish the variant set on top of it.

Document & log

Write the guideline page, sync Storybook, and record the change in the changelog.

Guideline page structure
OverviewAnatomyVariantsUsageEmphasisSizeIconsIcon OnlyLoadingButton ContainerStatesChangelog
08 · Where it stands

v0.1 is a foundation, not a finish line

The system is still in progress. What exists today is enough for new XLSMART products to start from shared tokens and components instead of a blank file.

100

button variants generated from one base component, with full state coverage including focus and loading.

5

component families in the library so far (Button, Avatar, Block Message, Badge, Accordion), plus the Iconography set.

1:1

naming between Figma variables, Storybook controls and code props, so handoff starts from a shared vocabulary.

What I'd carry into the next version

Migrate before adding

Retiring legacy tokens and the old Button set matters as much as shipping new components. Two "primary buttons" in the library recreate the problem we started with.

Write guidelines with product examples

Using the real eSIM picker as the Do/Don't example got faster agreement from product teams than any abstract diagram.

Treat states as part of the spec

Designing focus and loading up front removed a whole class of questions from developer handoff.

Next up

Form inputs, navigation, and a theming layer so XL, AXIS and Smartfren sub-brands can sit on the same semantic tokens.