SFcon
Icon & animation library for the design system
- ROLE
- Senior UX Designer Individual contributor
- TIMELINE
- 2023
- TEAM
- Platform UX Team
- PLATFORM
- Lightning Experience & Design System
- ORG
- Salesforce
The library
A ready-to-use, beautifully handcrafted SVG icon library featuring advanced micro-animations.
Bell
sfcon-bell-regular
- 66 icons
- 498 glyphs
- 55 animations
Shape and weight
Every icon is drawn on a 24 px grid. 54 of the 66 come in both shapes and all four weights.
- 20 px
- 24 px
- 32 px
- 48 px
- 64 px
Nine styles
Eight icons in nine styles.
Eight icons drawn as outlines in one colour: home, search, bell, cog, user, location, volume and launch. The weight slider thickens every outline from Light through Regular to Bold.
The eight icons as heavier outlines, the library’s Bold glyphs.
The eight icons as solid shapes with rounded corners. Search has no Solid, so it shows its Bold, as the library does.
The eight icons as solid shapes with square corners. Search shows its Bold Sharp, as the library does.
The eight icons in two tints of one coral: a strong outline over a soft fill, with the door, the cog’s hub, the user’s head, the pin’s dot and the rocket’s flame and window filled strong.
The eight icons in flat colours: an orange house with a coral roof, a purple door and a pink window, a blue lens with an orange handle, an orange bell with a pink knob and clapper, a purple cog with a pink hub, a blue user with an orange head, a blue pin with a coral dot, a blue speaker with pink waves and a purple rocket with a coral flame and blue fins.
The same colours as gradients, lighter at the top left and deeper at the bottom right, each icon with a soft glow of its own colour and a faint sheen.
The eight icons with dark outlines over flat colours, each on its own pastel square: mint, lavender, sky, sand, lilac, aqua, pink and cream.
The eight icons as frosted glass with a lit edge, coloured from within: a purple house, a teal lens, an orange bell, a pink cog and user, a red pin, a blue speaker and an orange rocket, with the roof, the door, the handle, the clapper, the hub, the head, the dot, the waves and the flame in full colour. Under a mouse the glass catches the light from the pointer.
Grids
Motion
20 effects play on click and 35 on hover or in a loop, each one a CSS animation.
Effect-1
cbutton--effect-1 sfcon-thumb-up-regular
animates scale · opacity
kx-ease-in-out 0.3, 0, 0.15, 1
duration 500 ms
0 · 100 %
Hover and click
Search shows the hover state and Bell the click state.
Looking back
What I’d change if I built it again.
-
SVG over a font
SFcon’s font draws each icon in one colour, so the five colour styles in the Figma file stayed in Figma. I’d ship SVG symbols now.
-
One weight axis
Light, Regular and Bold step by half a pixel at 24 px. A variable weight axis would cover them and everything between.
-
No silent fallbacks
9 icons have no Solid and 3 have no Sharp, and the CSS quietly shows another glyph. I’d draw them or leave the class out.
-
Loops and reduced motion
35 effects can loop forever, and the CSS has no reduced-motion rule. I’d keep loops for status, like a spinner, and stop the rest when someone asks for less motion.