?: string = "outline-variant"?: QSeparatorInset = false
?: CssValue | number = undefined
?: QSize = "none"
?: string = undefined?: "left" | "center" | "right" = vertical ? "middle" : "center"?: false = false?: string = "outline-variant"?: QSeparatorInset = false
?: CssValue | number = undefined
?: QSize = "none"
?: string = undefined?: "top" | "middle" | "bottom" = vertical ? "middle" : "center"?: true = falseContent above the separator
Content below the separator
vertical prop to create a separator that runs vertically. This is useful
for creating column divisions in a horizontal layout.text prop. This creates a visual break with a
label, which can be useful for section headings or to provide context.Content in this section
textAlign prop. For horizontal separators,
options are "left", "center" (default), or "right". For vertical separators, options are "top",
"middle" (default), or "bottom".spacing prop. Options include "none"
(default), "xs", "sm", "md", "lg", and "xl".color prop. You can use any
color name from your theme or a custom CSS color.size prop. This accepts any
valid CSS size value. If a number is provided it will be treated as px.inset to add 16px of space on the left, right, or both sides.Full-width
Left inset
Right inset
Both sides
This is the primary content of the card.
This is a secondary section of content.
Here is some additional information about this card.
This section is highlighted with a decorative separator
aria-orientation) to ensure
good accessibility. Separators with text act as visual headings but don't replace semantic
heading elements (h1-h6) for screen readers.