Skip to main content
November 15, 2023
Question

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

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 replies.

1 reply

Gayani_S
Figmate
Community Support
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.