Skip to main content
Question

Buttons best practice for design system

  • December 30, 2024
  • 0 replies
  • 21 views

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.

This topic has been closed for replies.