FlowPanel

An absolutely-positioned slot for custom flow-canvas UI (legend, toolbar).

Category: display · WCAG 2.1-AA · flow, panel, slot, chrome

Props

PropTypeDefaultDescription
position'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'top-rightPosition of the component.
childrenReactNodeContent rendered inside the component.
classNamestringAdditional CSS class names merged onto the root element.

Design tokens

When to use

When not to use

Examples

A legend panel

() => (
  <div style={{ position: 'relative', height: 160, border: '1px solid var(--cascivo-color-border)' }}>
    <FlowPanel position="top-right">Legend</FlowPanel>
  </div>
)

Related components

← Back to docs