Maximize
Expand a chart into a dialog and keep the same chart instance when it returns.
Installation
Install Maximize from the Fluid Effect UI registry.
Examples
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
props.id | string | Required | Provide a stable, unique ID for the chart dialog and trigger. |
props.label | string | Required | Name the chart dialog and derive its default button labels. |
props.open | boolean | Uncontrolled | Control the open state. Omit to start closed and let Maximize manage it. |
props.openLabel / closeLabel | string | Maximize / Close + label | Override the accessible names of the open and close buttons. |
props.motion | snapshot | live-content | snapshot | Choose a snapshot morph or animate the bounds of a responsive chart while it redraws in place. |
props.viewTransition | boolean | default | snappy | relaxed | spring | true | Enable, disable, or select a timing preset for the motion. |
view | Headless parts renderer | Required | Compose root, trigger, content, close, and stage. Keep one stable chart in the stage. |
onEmit | Event mapping | — | Handle RequestedOpen and RequestedClose for controlled use. Observe open changes, completion, or failures. |