functions

BorderActive
Edited: Sunday 25 January 2026

BorderActive

Category: Atoms
File: atoms.go
Package: ui

Signature

1func BorderActive(w W) W

Description

BorderActive wraps a widget with an active/focused border color.
Used to highlight focused form elements or selected items.

Example:

activeBorder := BorderActive(TextInput(editor, "Focus me"))

The active border uses Theme.ActiveBorderColor instead of the default border color.

Examples

BorderActive

1{
2	activeBorder := BorderActive(Label("Active border"))
3	_ = activeBorder
4}

Example Output


This documentation is auto-generated. To update, run make docs

Backlinks