Skip to main content
Question

Buttons best practice for design system


Fatimah

Hi designers,

If I want to add the prefix variants to my Button component in the design system, should I

  1. create the Prefix component like in the uploaded image?
    or
  2. create another variants within the Button component that has the prefixes:
    varient1: has the prefix1
    varient2: has the prefix2

which one is the best practice for creating buttons in design system?

I appreciate any help you can provide.

0 replies

Be the first to reply!

Reply


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