Skip to main content
Question

How to create a new property for a variant in a premade design system?

  • November 15, 2023
  • 1 reply
  • 179 views

I want to make a new property for each typography variant, where the text is underlined (“clicked”) and I really can’t figure it out.

I went to the parent typography component and added booleans for “clicked=true” and “unclicked=false”, but can not figure out the next step - how to create variants of the child components that are actually underlined?

This topic has been closed for comments

1 reply

Gayani_S
Figmate
  • Community Support
  • 1973 replies
  • November 16, 2023

Hey Manuel, I’ve tried to replicate this. I have made a variant of the component set and added the property with the underlined Font to a click state.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings