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
PostPickerControl Opens the post picker modal from any trigger you render. Controlled: the selection comes in through value and leaves through onChange, so it can be a block attribute, post meta or component state — nothing is synced for you. @isudev/gutenberg/controls/PostPickerControl
PostPickerModal A modal for searching, filtering and selecting posts across one or more post types: search, post type, per-type taxonomy filters, sort, “All / Selected” tabs, a maximum and “Save selection”. It edits a draft; onChange fires once, on save. @isudev/gutenberg/controls/PostPickerModal
PostSelectorControl The all-in-one post selection UI: a heading with an “x / max” counter, a drag-and-drop sortable list of the selected posts (thumbnail, title, term · date, remove), a reorder hint and a “Choose posts” / “Change selection” button that opens the picker modal. Controlled, or bound to post meta through valueBinding. @isudev/gutenberg/controls/PostSelectorControl
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