What is vanilla first?
When it comes to ice cream; Vanilla is a stand out success. It may not have the complexity of Mint Choc Chip, or the extravagance of Salty Hazelnut Praline with Truffle Crumble topping, but its simplicity is what makes it so extraordinary.
Its modest nature makes vanilla so popular; it can complement other flavours and satisfy multiple needs. Customise vanilla and you begin to gratify fewer desires.
Applying this analogy to creating solutions - a vanilla component should solve a problem with the simplest solution. Every iteration of a feature or component should start this way.
Why we do it
When we build upon our design system we want to make sure that it's as robust and future-proof as possible.
If we were to change our brand, adjust our styles or even introduce additional brands we still must have a design system that contains solutions that fulfil the needs they are intended to solve.
We want to make sure that our components solve common problems that can be reused and grow to tackle variations of that problem.
How to think vanilla first?
First and foremost, it's vital to engage in continuous open conversation. It's the essence of engaging in all the expertise and experience we have amongst our community.
Next, identify the problem! This is done through the proposal process, everyone is encouraged to comment and get involved.
Once we have the big picture of the problem we can begin finding the common themes. Is there a pattern emerging? We should define the scope in the simplest most generic form explaining this problem.
It's natural to look at what other design systems have done, and this is great. We want to build upon other peoples learnings and research. However, we must take this with a pinch of salt. Design's main ingredient is the context, what works well for one, may not work as well for us. In order to build upon others, we need to do our own research.
Think of the minimum viable solution to solve the problem. And see if it's possible to distil it a bit further, then use that as the starting point.
Refer to the Nucleus principles to inform your thinking.
It's important to decipher the proposals from our colleagues. Understand the contributions from every source and perform our own research.
We may receive a proposal that starts out it's life as. "I need the moon on a stick". Someone else may say; that they too "Need the moon on a stick". The similarities are obvious at first glance, but we're unsure what phase of the moon each proposal is referring to. How long is the stick? Does the stick have a handle?
Spread the net as wide as possible to understand the core problem. Shake off all of the influence from everyone promoting their solution, and ask for relevant user testing results and research.
Step away from any bespoke design influences from our brand by removing typography, colour, spacing etc. and understand the foundations of the solution.
Grab a piece of paper and a pen or pencil and list the essential requirements acquired by the research.
As for designers, the same applies for engineers. Step away from our design system and the brand influence. Try things outside our system in a sandbox and work out what can be done with nothing more than the semantics.
In order to produce a robust solution a good starting place is to identify if a native element or a combination of elements will satisfy the requirements. To find documentation and examples of native HTML elements and APIs read the MDN Web Docs.
Understand which of these are fundamental to the solution, which are supporting and which are optional.
Ensure to continue the discussion with everyone who has contributed as it's important to not overlook anything.
Accessibility is of course essential to get right, take some time to understand the best way to present this to everyone.
Follow these 10 key points
- Understand all contexts in which this solution will belong.
- Ensure it'll fit semantically within all contexts.
- Accessibility trumps everything.
- If it's a duck, make sure it looks like a duck and quacks like a duck. 🦆
- Gracefully degrade or make a note of any expected behaviour.
- When it's displayed in high contrast ensure it performs well.
- Apply the branding and detailed design once the foundation is understood.
- Test within every environment which emulates all the contexts discovered earlier.
- Take this opportunity to refine and perfect every aspect of this solution.
If you are feeling stuck and don't know if you're working vanilla first, see if you can answer these:
- Are you solving one problem at a time?
- Is it accessible?
- Does it build upon native elements or APIs?
- Is it the simplest solution to the problem?
- Can it be built upon in the future with no breaking changes?
- Is it adaptable?
- Can it be reused for other problems, and if so can it be built to be more generic?
Be aware of using CSS custom properties
Exposing the problem with CSS custom properties in a Design System...
1 December 2022
The Masked Inputter
Simply solving complex problems...
17 June 2022
You shouldn't use ns-highlighter for that
How a naming mistake led to a much bigger problem...
6 May 2022
Creating the Nucleus Logo
How we created our logo and why we needed to....
29 April 2022