Separator

A rule between sections: solid, dashed, or drawn with characters.

Example

AboveBetweenBelow
tsx
<Stack gap="md">
  <Text>Above</Text>
  <Separator />
  <Text>Between</Text>
  <Separator variant="dashed" />
  <Text>Below</Text>
</Stack>

Usage

Pages are built on the server: import the tags from @dash/server and return the tree. The browser runtime draws it.
tsx
import { Separator, Stack, Text } from "@dash/server";

Props

SeparatorProps

Prop
Type
Description
orientation"horizontal" | "vertical"
variant"solid" | "dashed" | "ascii"
PreviousCard
On this page