functions
HR| modified | Sunday 25 January 2026 |
|---|
Category: Atoms
File: atoms.go
Package: ui
1func HR(sz int) W
HR creates a horizontal rule (divider line) with the specified thickness.
The line spans the full available width using the theme’s border color.
Example:
divider := HR(2) // 2-pixel thick horizontal line
Commonly used between sections to create visual separation.
1{
2 divider := HR(2)
3 _ = divider
4}

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