Add a button to a tab or group by callingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Footagesus/WindUI/llms.txt
Use this file to discover all available pages before exploring further.
:Button({...}). The returned object exposes a :Highlight() method you can call programmatically.
Parameters
Label displayed on the button. Defaults to
"Button" when omitted.Secondary line of text rendered beneath the title.
Lucide icon name shown alongside the title. Pass
"" to hide the icon entirely.Background tint for the button element. When set, the icon color adapts automatically for contrast.
Horizontal alignment of the content inside the button. Defaults to
"Between" (title on the left, icon on the right).Side the icon is placed on. Defaults to
"Right".When
true, the button is overlaid with a lock indicator and the callback is suppressed.Custom text shown on the lock overlay. Defaults to
"Locked".Called when the user clicks the button.
Methods
button:Highlight()
button:Highlight()