Skip to Content
📣 We just released Svelte Flow 1.0 Alpha — try it out and give us your feedback!

<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