functions
TabButton| modified | Sunday 25 January 2026 |
|---|
Category: Components
File: tabs.go
Package: ui
1func TabButton(cl *Clickable, active bool, l string) W
TabButton renders a single tab button with hover and active states.
Active tabs show with accent colors, hovered tabs show card background.
Example:
btn := &Clickable{}
tab := TabButton(btn, true, "Settings")
Used internally by Tabs widget but can be used standalone.
No examples available yet. See the test files for usage.
To add an example for this function, create an ExampleTabButton function in the test files.
This documentation is auto-generated. To update, run make docs