DEV Community

Discussion on: Introducing: Mint UI 🎉

Collapse
 
gdotdesign profile image
Szikszai Gusztáv

Hi 👋

can you customize things like available sizes?

There are no fixed sizes like in other design systems. You can make any element any size by providing a prop:

<Ui.Button 
  label="I am a double size button!" 
  size={Ui.Size::Em(2)}/>
Enter fullscreen mode Exit fullscreen mode

Since every component is using em this cascades down to child components as well.

Currently there are not much design tokens other than ones for the color but in the future I'll add them for spacing, padding, border radius etc...

Let me know if you have any questions! Happy to answer them 🙂