Build beautiful apps
Start

Button

Buttons allow users to perform actions and make choices with a single tap.

Import

import { Button } from '@flexi-ui/button'

Usage

Variants

Buttons come in different variants to suit different use cases:

Colors

Choose from various color schemes:

Sizes

API Reference

PropTypeDefaultDescription
colordefault | primary | secondary | success | warning | dangerdefaultThe color of the button
variantsolid | bordered | light | flat | ghostsolidThe variant of the button
sizesm | md | lgmdThe size of the button
isDisabledbooleanfalseWhether the button is disabled
isLoadingbooleanfalseWhether the button is in a loading state