Skip to content

pantoken-root / renderers/web-components/src / toggleButton

Variable: toggleButton ​

const toggleButton: ElementDefinition

Alpha

<instui-toggle-button> — a two-state button. pressed="true" reflects to the button's aria-pressed; slotted content is the label.

Example ​

html
<instui-toggle-button pressed="true">Bookmarked</instui-toggle-button>