Button

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

import { Button } from 'minerva-ui';

Variants

Variants from defaultTheme

Loading Button

Disabled Button

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