Skip to Content
💡 Legacy Notice: You're viewing Svelte Flow for Svelte 4. For the latest documentation, click here.
ReferenceTypesPanelPosition

PanelPosition

This type is mostly used to help position things on top of the flow viewport. For example both the <MiniMap /> and <Controls /> components take a position prop of this type.

export type PanelPosition = | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
Last updated on