Skip to content

ClassProperty

Renders a property row with a colored left border, label, name, and optional link.

PropTypeDefaultDescription
namestringrequiredProperty name
highlightstring"variable"Syntax highlight type
labelstring"prop"Display label
targetstringLink URL

The default slot typically contains a ClassPropertyType component.

<CB.ClassProperty name="maxRetries" label="field">
<CB.ClassPropertyType type="number" />
</CB.ClassProperty>