rtk-button
A button that follows RealtimeKit's Design System.
<rtk-button>Primary</rtk-button>
<rtk-button variant="secondary">Secondary</rtk-button>
Props
disabled
Where the button is disabled or not
Default
false
Type
boolean
kind
Button type
Default
'button'
Type
"button" | "icon" | "wide"
reverse
Whether to reverse order of children
Default
false
Type
boolean
size
Size
Type
"lg" | "md" | "sm" | "xl"
type
Button type
Default
'button'
Type
"button" | "reset" | "submit"
variant
Button variant
Default
'primary'
Type
"danger" | "ghost" | "primary" | "secondary"