Display a button using one of the available theme or size variants.
Examples of Theme variants
Primary
Secondary
Danger
Outline
Ghost
Button with icon
Button with a loading state
Examples of Size variants
Default
Extra Small
Small
Large
For creating these system design components, I was inspired by shadcn/ui. Please check them out.
P.S. - You can also see the code samples attached with the examples. For a detailed view, you can see the code on github.