IDividerProps
interface
Layout
Props for OrigamDivider — a thin horizontal or vertical separator. Supports inset, custom length and thickness on top of color, background-color, margin and direction.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- insetboolean
- Add left/right padding so the divider does not span the full container width (horizontal) or top/bottom padding (vertical).
- lengthnumber | string
- Override the divider length. Accepts a pixel number or any valid CSS length string (e.g. "80%", "4rem").
- thicknessnumber | string
- Override the divider thickness. Accepts a pixel number or any valid CSS length string (e.g. "2px").
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Inset colored divider