Join the Webstudio community

Updated last week

Ideas for building design systems faster in Webstudio (for consistent brand design and style guides)

After spending a month or so living in Webstudio I can see it's great potential. It's definitely the best Webflow alternative out there. Clean tokens instead of class chaos, Airtable CMS, lifetime version, better nested CMS, a fast responding and super competent community… I love it all.

Since I committed to Webstudio for the next years and projects, I started building a design system with all components needed to build websites:
1) faster
2) more consistent
3) changing and adopting over time - while being incredible consistent and on brand

The first thing I really missed from Webflow is it's Variable Panel (see screenshot 01).
You can define easily all global variables; later they are available in the designer to attach them to classes.

It goes even beyond that. You can create different modes as columns:
  • Base Mode
  • For Type and Sizes: Breakpoints
  • For Colors: Hover State and more
  • For Colors: Dark Mode
Also it's possible to categorize them in groups and folders.

So I wanted to see all Open Props in one view. I built a little workaround tool in Google Sheet, so I could see all Open Props and more in one place, categorized (see screenshot 02). If you want, you can duplicate it here.

If you want to link one variable to another like shown in the screenshot (e.g. --foreground-primary to the color --gray-3), then just get a checked checkbox in the colum Var, so the formula in CSS Property will automatically wrap var(…) around it. This tells Webstudio to link the variable for use --foreground-primary to the system color --gray-3.

After you defined variable and value, the CSS Property get's concatenated in the the formula. You can just copy/paste the full css property into Webstudio (as mentioned in this video by @John Siciliano).
Attachments
image.png
image.png
1
H
S
O
13 comments
What I also like about the variables in Webflow is, that you can change them later on in the designer.

Right now it's a great hassle to change things in Webstudio. Yes, you have the design panel of your component selected, but it's with a global variable so you need to go to the root of the page, search for the variable and then change it manually.

This can't be a solution long-term since we lose so much time in the build process.

Let's say we want to change the hover effect of the main buttons. In Webflow I go to the accent-shadow color since it's linked to the button-color-hover. And here I can change the value (the color in that case) in the design panel immediately.

I would love to see this in Webstudio, since it's build mainly for web professionals.
Attachments
image.png
image.png
I am also super curious to learn from your insights about how you guys are building design systems and styleguides in Webstudio and what features you would need to design faster and more consistent @John Siciliano, @Sam Gilbert, @Daniel Kozma and all other design pros.
Hi @Hiram Broemme John did a deep dive on how to build in Webstudio

https://youtu.be/_0Gb7xNElGw

if you are migrating from webflow the workflows might be different from what you are used to, feel free to call me here on discord i will walk you through my process and answer any questions you might have.

Alternatively i can record a video for you
I think this is a good idea. Maybe, just maybe, instead of showing an inline editor for one value like webflow does, we could have an alternative view for advanced section that's popped out in a dialog. This is something we wanted anyways and in that view there would be also categories. When clicking edit on a specific instance, we would open that dialog if not already open and focus that specific variable so you can edit right away.
we have this issue for expanding the advanced panel in a dialog https://github.com/webstudio-is/webstudio/issues/4806
This is such a great point
Thanks, appreciate it. Editing the variables in-place in the design panel will make things faster.

What do you think of implementing a variable panel showing all variables in one table/overview?
(mentioned at the thread's start)
one table

tha'ts basically what you get if you only use root ... its a limitation webflow has, we do this in a way css actually works, which is supporting tree-level definitions which can override global definitions
Kinda… still not very visual when you look at Webstudio‘s Variable Panel.

I am sure most of my design collegues would prefer building a complex design system for a large brand visually between a styleguide and a table that organizes/sorts everything nicely in categories and groups over a kinda nerdy feature in Root > Advanced Section.

Still appreciate that Webstudio can override global definitions (+ copy/paste variables is genius).
Like I said above, same thing but in dialog and with categories.
What you miss is more width and categories, I don't hear anything else
Look forward to the the dialog feature with categories 👍
Add a reply
Sign up and join the conversation on Discord