Components / Layout

Divider

A horizontal or vertical rule, optionally labelled.

@ruckc/truss-ui Layout

Import

import { Divider } from '@ruckc/truss-ui';

Playground

API

PropTypeDefaultDescription
vertical booleanfalseStack vertically instead of horizontally.
children snippet Snippet—Content, as a Svelte snippet.
/docs/divider Truss UI · MIT