Docs
Button
Button
Displays a button or a component that looks like a button. Used to trigger an operation.
Installation
npm install @brudi/react-button
npm install @brudi/react-button
Usage
import { Button } from "@brudi/react-button"
import { Button } from "@brudi/react-button"
<Button variant="outline">Button</Button>
<Button variant="outline">Button</Button>
Link
You can use the buttonVariants
helper to create a link that looks like a button.
import { buttonVariants } from "@brudi/react-button"
import { buttonVariants } from "@brudi/react-button"
<Link className={buttonVariants({ variant: "outline" })}>Click here</Link>
<Link className={buttonVariants({ variant: "outline" })}>Click here</Link>
Examples
Primary
Secondary
Destructive
Outline
Ghost
Link
With Icon
Loading
Legacy
primary
circular
secondary