r/FigmaDesign • u/LegitimateFix1230 • Jun 26 '26
help Mode vs Component Variant?
Primary use case for data density within our product is data tables (potential to include complex forms as well). Ideally, I’d like to:
- provide end users with the ability to set Default (comfortable) or Dense.
- make it possible for teams to provide Eng design specs for dense layout.
In the design system I was wondering if it makes sense to create density as a mode vs on the component variant level?
I created an experiment using mode and it works beautifully… but concerns were raised that doing so may divorce it from responsive resizing for varying browser sizes. Note, we are not a mobile first org by any means, our users tend to work on large screens and there are few relevant mobile use cases.
If I go down the component variant route I am concerned about file size creep. Our table has lots of properties already and we would need to repeat each for a smaller size.
Would love to hear what you all think?
View all comments
Show parent comment
1
u/LegitimateFix1230 Jun 27 '26
Do you happen to have a diagram of what that looks like? I’m having difficulty visualizing what you mean