Glin-Profanity has just been released! Click here to learn more.


Docs
Button

Button

A versatile and customizable button component from GlinUI, designed to support various actions and styles, including primary, secondary, and disabled states.

Button Component

The Button component is a customizable button that can be used for various actions across the application. It supports different variants and states.

Usage

Variants

The Button component supports different variants like primary and secondary.

Primary Button

This is the primary button:

Props

Here are the props supported by the Button component:

PropTypeDescription
labelstringThe text to display on the button.
variantstringThe variant of the button (primary, secondary).
disabledbooleanIf true, disables the button.
onClickfuncFunction to call when the button is clicked.