functions

VR
Edited: Sunday 25 January 2026

VR

Category: Atoms
File: atoms.go
Package: ui

Signature

1func VR(sz int) W

Description

VR creates a vertical rule (divider line) with the specified thickness.
The line spans the full available height using the theme’s border color.

Example:

divider := VR(1)  // 1-pixel thick vertical line

Useful for separating columns or creating vertical divisions in layouts.

Examples

VR

1{
2	divider := VR(1)
3	_ = divider
4}

Example Output


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

Backlinks