Button - Keep React

The Buttons component in the Keep React offers a variety of button types, sizes, and states to meet your design needs. With options for icons and destructiveness, you can create visually appealing and functional buttons for your product.

Table of Contents#

Button Variant Type#

There are two kinds of button variant types. Available types : link and outline.

Button Colors Variant#

Here are the available color variants for the Button component, each with its own unique color scheme: primary secondary success warning and error.

Button Sizes Variant#

Here are the available size options for the Button component : xs sm md lg xl and 2xl.

Button Shape Variant#

There are two available button shape variant: icon and circle props for added variety and style.

Button With Icon#

Our design system, you have the flexibility to position icons on either the left or right side of the button.

API Reference#

Explore the available props for the button component

PropertyDescriptionTypeDefault
colorColor variant of the button
primary
secondary
error
success
warning
primary
variantVariant of the button.
link
outline
outline
shapeApply circular styling to the button.
circle
icon
circle
positionPosition of the button within a button group.
start
end
center
start
sizeSize variant of the button.
xs
sm
md
lg
xl
2xl
md