Jump to content

Template:StorybookComponent

From Swarthmore Knowledge Base
Revision as of 15:15, 14 May 2026 by Mkappel1 (talk | contribs)

Usage

{{StorybookComponent|components-two-column-layout--two-column-layout}}

Embeds a Storybook component given its ID

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
idid

Storybook component ID

Stringrequired
widthwidth

The width in pixels of the storybook component

Stringoptional
heightheight

The height in pixels of the storybook component

Stringoptional
toggle-statestoggle-states

Display a toggle demonstrating different states?

Booleanoptional