Skip to main content

Interface: BracketOptions

Configuration options for the grouping bracket decorator.

Properties​

PropertyTypeDescription
className?stringAdditional CSS class name.
color?stringSolid stroke color (default: "rgba(255, 255, 255, 0.25)").
dashed?booleanDashed stroke pattern.
depth?numberBracket depth / breadth in pixels (default: 16).
dotted?booleanDotted stroke pattern.
glow?string | booleanWhether the bracket emits a neon bloom glow (default: false).
label?stringOptional label text placed at the bracket apex/center.
offset?numberSpacing distance between element border and bracket in pixels (default: 8).
radius?numberCorner radius / curvature in pixels (default: 8).
side?"top" | "left" | "right" | "bottom"Which side the bracket sits on ("left"
strokeWidth?numberBracket stroke thickness in pixels (default: 1.5).
style?BracketStyleBracket style: "curly" (default), "square", "round", or "corners".