Interface: BracketOptions
Configuration options for the grouping bracket decorator.
Properties
| Property | Type | Description |
|---|---|---|
className? | string | Additional CSS class name. |
color? | string | Solid stroke color (default: "rgba(255, 255, 255, 0.25)"). |
dashed? | boolean | Dashed stroke pattern. |
depth? | number | Bracket depth / breadth in pixels (default: 16). |
dotted? | boolean | Dotted stroke pattern. |
glow? | string | boolean | Whether the bracket emits a neon bloom glow (default: false). |
label? | string | Optional label text placed at the bracket apex/center. |
offset? | number | Spacing distance between element border and bracket in pixels (default: 8). |
radius? | number | Corner radius / curvature in pixels (default: 8). |
side? | "top" | "left" | "right" | "bottom" | Which side the bracket sits on ("left" |
strokeWidth? | number | Bracket stroke thickness in pixels (default: 1.5). |
style? | BracketStyle | Bracket style: "curly" (default), "square", "round", or "corners". |