lotusui the ikaito design language for Gio — desktop, mobile, web
GitHub

Separator

The semantic divider: a 1dp hairline, horizontal or vertical.

The component form of the hairline — a visual boundary that is not a box. SeparatorVertical divides horizontal siblings.

Installation

Use the module import (the default), or own the source: lotusui add vendors the component into your app and lotusui update keeps the copy mergeable — see Registry.

Go
go get github.com/ikaito-com/lotusui

# or vendor the source into your app:
go run github.com/ikaito-com/lotusui/cmd/lotusui add separator

Usage

Go
lotusui.Separator(th)          // horizontal
lotusui.SeparatorVertical(th)  // between row siblings

List

Inline items divided by vertical rules.

Go
// Blog | Docs | Source — SeparatorVertical between Rigid children

API

OptionTypeDescription
Separator(th)widgetThe horizontal 1dp rule.
SeparatorVertical(th)widgetDivides horizontal siblings.

Every demo on this site is the real Go component compiled to WebAssembly — one gallery app, one bundle, addressed by URL hash.