Button

The <Button /> component replaces <button /> tag and extends the standard props passed to a <button />.

import { Button } from 'minerva-ui'
Preview
Source

Variants

Variants from defaultTheme

Preview
Source

Loading Button

Preview
Source

Disabled Button

Preview
Source

Props

The Button composes the PseudoBox component so you can pass props for PseudoBox. These are props related to the Button component.

NameTypeIs RequiredDefaultDescription
disabledbooleanoptionalfalseToggles disabled pseudo class
variantstringoptionalnoneOptionally tries to use a variant style from your Theme object
isLoadingbooleanoptionalfalseDisplays loading spinner and disables button when true