UI Button

Button

Flebee UI exports 2 components:

  • BeeButton: The main component to display a button.
  • BeeButtonGroup: A wrapper component to display a group of buttons.

Import Button

import { BeeButton } from '@flebee/ui/button';

Usage Button

Usage Button Icon Only

Button Properties

PropertiesTypeDefault
sizesm | md | lgmd
variantprimary | secondary | danger | warning | ghostprimary
iconOnlybooleanfalse
fullWidthbooleanfalse

Import Button Group

import { BeeButton, BeeButtonGroup } from '@flebee/ui/button';

Usage Button Group

Button Group Properties

PropertiesTypeDefault
sizesm | md | lg |md
variantprimary | secondary | danger | warning | ghost |
If the variant is not passed, each button handles its variant
fullWidthbooleanfalse