functions
Border| modified | Sunday 25 January 2026 |
|---|
Category: Atoms
File: atoms.go
Package: ui
1func Border(w W) W
Border wraps a widget with a border using the theme’s border color and size.
Creates sharp corners (use RoundedCorners for rounded borders).
Example:
bordered := Border(Label("Bordered text"))
The border width and color are controlled by Theme.BorderColor and BorderSize.
1{
2 bordered := Border(Label("Bordered text"))
3 _ = bordered
4}

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