AccordionAlert DialogAutocompleteAvatarButtonCalendarCarouselCheckboxCollapsibleColor PickerComboboxCommandDate InputDate PickerDialogDrawerFieldFile InputHover CardImage CropperInputLabelListboxMenuMenubarMeterNavigation MenuNumber InputOTP InputPaginationPassword InputPopoverPreferencesProgressRadioRatingResizableScroll AreaSegmented ControlSelectSeparatorSliderSwitchTabsTextareaTime InputTimelineToastToggleToken InputToolbarTooltipTreeTrigger MenuWaterfall
Toggle experiments⁦Ctrl+B⁩

Image Cropper

View on GitHub
Switch to dark theme⁦D⁩
Toggle panel⁦Ctrl+J⁩
Toggle inspector⁦O⁩
Close panel⁦Ctrl+J⁩
[
  {
    "ref": "Cover photo",
    "action": "setCrop",
    "args": [
      {
        "x": 100,
        "y": 80,
        "width": 200,
        "height": 150
      }
    ]
  },
  {
    "ref": "Crop",
    "action": "expect",
    "args": [
      "200 × 150 at 100, 80"
    ]
  }
] 

No run yet

Run a step or a query to see what the agent gets back.

Run the steps⁦Ctrl+Enter⁩

0 active

Turn every setting off⁦Shift+R⁩

The crop stays square.

The image moves under a fixed frame.

Nothing can change.

A person has to approve each agent step.

The agent reads the value as redacted.

onValueChange refuses what the agent sets.

Mountains at sunset