- Docs
- Button
Button
Displays a button or a component that looks like a button.
Usage
import (
. "github.com/canpacis/pacis/ui/components"
)
Button(Text("Button"))
Examples
Primary variant
Secondary variant
Outline variant
Destructive variant
Ghost variant
Link variant
Sizes
Icon
Button as link
With an event handler
API
Events
All the events of a regular DOM button element is passed to this node