Skip to content

Controls

Module What it does Narrowest import
BlockLinkControl Injects an add/edit action and an optional unlink action into Gutenberg’s BlockControls. The add/edit action opens the same LinkPickerControl used by the lower-level and editable-text link APIs. @isudev/gutenberg/controls/BlockLinkControl
LinkPickerControl Adds WordPress’ native link picker to any consumer-rendered element. It owns popover state and link normalization, while a render prop keeps the trigger and the block’s markup under the consumer’s control. @isudev/gutenberg/controls/LinkPickerControl
LinkText Provides editable RichText rendered as an anchor and a native-style link action in the inline block toolbar. It is the ready-made path for CTA labels, inline links and lists of editable links. @isudev/gutenberg/controls/LinkText
MediaCanvasControl Renders a media placeholder before selection and an image/video preview with compact replace/remove actions afterward. Each action can be disabled independently. @isudev/gutenberg/controls/MediaCanvasControl
MediaControl The complete single-media editor composed from MediaCanvasControl, MediaToolbarControl and MediaSidebarControl. Every location can be disabled, and each location independently controls its select, replace and remove actions. @isudev/gutenberg/controls/MediaControl
MediaPickerControl Connects any consumer-rendered trigger to WordPress’ native media modal. A render prop exposes open, selection state and the current select/replace action, while selections are normalized to a small serializable MediaValue. @isudev/gutenberg/controls/MediaPickerControl
MediaSidebarControl Adds a media panel to InspectorControls with independently configurable actions and one of three preview modes: static media, interactive focal point, or no preview. @isudev/gutenberg/controls/MediaSidebarControl
MediaSourceControl Provides the native image-block source workflow as either inline placeholder buttons or a replacement dropdown: media library, upload, direct URL, current post featured image and drag-and-drop. Every source is independently configurable. @isudev/gutenberg/controls/MediaSourceControl
MediaToolbarControl Adds state-aware select/replace and remove actions to Gutenberg’s block toolbar without rendering any block content or inspector UI. @isudev/gutenberg/controls/MediaToolbarControl
ResponsiveControl Makes any control responsive: renders a label and a breakpoint switcher, then hands the resolved per-breakpoint value to a render prop. @isudev/gutenberg/controls/ResponsiveControl