Separator
Horizontal or vertical hairline divider.
ui layout
Preview
Installation
npx slintcn@latest add separatorUsage
import { Separator, SeparatorOrientation } from "slintcn/components/separator.slint";
Separator { orientation: SeparatorOrientation.horizontal; }
Properties
orientation
in
SeparatorOrientation
`horizontal` (default) or `vertical`.
API
SeparatorOrientationhorizontalverticalDependencies
theme only
Installed automatically as transitive dependencies of slintcn add separator.