Properties
Build a compact, consistent API reference for an MDX component.
The accent colour used by the component.
<Properties>
<Property name="color" required type="string">
The accent colour used by the component.
</Property>
</Properties>Properties groups Property entries into a concise API reference. It gives
each prop a clear name, type, required state, and explanation, so reference
sections stay consistent across all component pages.
Document the API that readers use
Use one Property per public prop. Mark required values explicitly and explain
defaults, precedence rules, or constraints in the description. The badges
prop is useful for short metadata such as a version or platform note.
Chooses the appearance. It defaults to light.
An access token. The required badge is hidden because the surrounding text already communicates the requirement.
Use normal Markdown headings and prose for the conceptual explanation; reserve this component for the final, scannable prop reference.
Describe a rollout policy
Mix required state, version metadata, and rich descriptions to make a compact reference section feel more like a useful API contract.
Use preview to require a final approval before publishing.
The people who receive the preview link. It defaults to an empty list.
Sends a completion message to each reviewer. It defaults to
true.
<Properties>
<Property
badges={<Badge variant="outline">v2.4</Badge>}
name="strategy"
required
type='"preview" | "instant"'
>
Use <code>preview</code> to require a final approval before publishing.
</Property>
<Property name="reviewers" type="string[]">
The people who receive the preview link. It defaults to an empty list.
</Property>
<Property name="notify" type="boolean">
Sends a completion message to each reviewer. It defaults to <code>true</code>.
</Property>
</Properties>Properties
The Property entries rendered in the reference section.
Extra classes applied to the outer Properties section.
A Property name, usually the public prop name.
An optional type label displayed next to the property name.
Marks a Property as required. It defaults to
false.
Shows the required or optional state badge. It defaults to
true.
Additional inline badges displayed beside the property's type and state.
The explanatory content for an individual Property.
Extra classes applied to an individual Property entry.