Skip to content

Add boolean property exhibits to props section #72

@nathanacurtis

Description

@nathanacurtis

Problem

Boolean properties in a component do not have their own exhibit in the props section of the canvas output. Other design system documentation tools (including the predecessor) render a dedicated exhibit for each boolean prop showing its toggled states, but the current plugin does not.

Solution

Add a boolean property exhibit to the props section for each boolean prop detected in the component, showing the prop name, default value, and toggled state.

Acceptance criteria

  • Each boolean prop generates a property exhibit in the props section
  • Boolean exhibits display the prop name, default value, and toggled state
  • Consistent with how other prop types are exhibited

Implementation details are tracked internally.

Metadata

Metadata

Assignees

Labels

pluginFigma plugin

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions