Basic
A button lets peeps do stuff with clicks, presses, taps, and keystrokes.
Preview
Code
Installation
CLI
Manual
npx hq-kit add button
Variant
Buttons come in different variant, each with their own color scheme.
Preview
Code
Shape
Buttons can be styled with different shapes.
Preview
Code
Size
Buttons can be styled with different sizes.
Preview
Code
With Icon
You can add icons to the button and the color of it will be determined by the button's color.
Preview
Code
Icon Only
Icon only buttons are useful for adding icons to a toolbar or menu.
Preview
Code
Disabled
When a button is disabled, it cannot be interacted with and is visually indicated by a disabled state.
Preview
Code
With Loader
You can also add loader to the button.
Preview
Code
Link
Sometimes, you need to use styles from buttons for links. Just use the link and use the buttonStyles
to the className prop.
Preview
Code