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 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
lotusui.Separator(th) // horizontal
lotusui.SeparatorVertical(th) // between row siblings
List
Inline items divided by vertical rules.
// Blog | Docs | Source — SeparatorVertical between Rigid children
API
| Option | Type | Description |
|---|---|---|
Separator(th) | widget | The horizontal 1dp rule. |
SeparatorVertical(th) | widget | Divides horizontal siblings. |