Playground GitHub npm

Separator

Horizontal or vertical hairline divider.

ui layout

Preview

Installation

npx slintcn@latest add separator

Usage

import { Separator, SeparatorOrientation } from "slintcn/components/separator.slint";

Separator { orientation: SeparatorOrientation.horizontal; }

Properties

orientation in SeparatorOrientation

`horizontal` (default) or `vertical`.

API

SeparatorOrientationhorizontalvertical

Dependencies

theme only

Installed automatically as transitive dependencies of slintcn add separator.