Skip to content

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

42Requests
Daily requests
Timevalue
17934912000008
179357760000012
179366400000011
179375040000019
179383680000016
179392320000023
179400960000031
179409600000042

API Reference

PropTypeDefaultDescription
props.idstringRequiredProvide a stable, unique ID for the chart dialog and trigger.
props.labelstringRequiredName the chart dialog and derive its default button labels.
props.openbooleanUncontrolledControl the open state. Omit to start closed and let Maximize manage it.
props.openLabel / closeLabelstringMaximize / Close + labelOverride the accessible names of the open and close buttons.
props.motionsnapshot | live-contentsnapshotChoose a snapshot morph or animate the bounds of a responsive chart while it redraws in place.
props.viewTransitionboolean | default | snappy | relaxed | springtrueEnable, disable, or select a timing preset for the motion.
viewHeadless parts rendererRequiredCompose root, trigger, content, close, and stage. Keep one stable chart in the stage.
onEmitEvent mapping—Handle RequestedOpen and RequestedClose for controlled use. Observe open changes, completion, or failures.