Skip to content

Components

Module What it does Narrowest import
BreakpointSwitcher Switches which breakpoint a responsive setting is being edited for, as an always-visible row of icons or a compact dropdown. @isudev/gutenberg/components/BreakpointSwitcher
ColorPopup A color swatch button that opens a popover with ColorPalette, and reports back the full color object ({ color, name, slug }), not just the hex string ColorPalette gives you. @isudev/gutenberg/components/ColorPopup
Icon Renders one named icon from an injected collection. Empty and unknown names render nothing. The folder also exports collection resolution and the explicit wp_localize_script adapter shared by IconPicker and IconSelect. @isudev/gutenberg/components/Icon
IconPicker Displays an accessible grid of named icons with optional search and clearing. It is the always-visible selection surface used by IconSelect. @isudev/gutenberg/components/IconPicker
IconSelect Shows the current icon and label in a compact WordPress button. Clicking it opens IconPicker in a popover; with no selected value, no icon preview is rendered. @isudev/gutenberg/components/IconSelect
MediaFocalPointControl A standalone wrapper around WordPress’ FocalPointPicker for a serializable image or video value. It can be imported without any media modal, toolbar or inspector controls. @isudev/gutenberg/components/MediaFocalPointControl
MediaPreview Renders a serializable MediaValue as an image or video. It is props-only, performs no REST requests, and maps an optional focal point to safe CSS object-position values. @isudev/gutenberg/components/MediaPreview