Skip to Content
πŸ“£ We just released Svelte Flow 1.0 Alpha β€” try it out and give us your feedback!
ReferenceComponents<ControlButton />

<ControlButton />

Source on GitHub 

The <ControlButton /> component is used to render custom/ additional buttons for the <Controls /> component.

<script lang="ts"> import { Controls, ControlButton } from '@xyflow/svelte'; </script> <Controls> <ControlButton on:click={() => console.log('⚑️')}> ⚑️ </ControlButton> </Controls>
Last updated on