Superhero - Half Width Variant
Hero with content and image side-by-side used for Product/Platform authored pages.
Syntax
<Superhero slots="image, heading, text, buttons" variant="halfWidth" />

# Page Heading
This is a sample description text with an [inline link](https://example.com) for the superhero block.
* [Get Started](https://example.com/getting-started)
Parameters
-
variant:
"halfWidth" -
slots:
heading(required)text(required)imageorvideo(required): Right-side mediafullWidthBackground(optional): Background imageicon(optional): Filename from the icons directory. If unavailable, please contact the dev-site team to upload.buttons(optional)
-
background: Background color (default:
rgb(255, 255, 255)) -
textColor: Text color. Options:
black,white,gray,navy(default:black) -
overGradient: Improves button visibility over a gradient background
-
Video playback (optional, when
videois inslots): Add any of these as boolean attributes on the opening<Superhero>tag (no value). Autoplay with mute is on by default.- controls — Off by default. Show the default browser video controls.
controlsalone disables autoplay, loop, and mute. - autoplay — Re-enables autoplay and mute (for example when used together with
controls). - loop — On by default unless
controlsis set. Repeat the video when it ends. Addloopto re-enable looping when used withcontrols.
- controls — Off by default. Show the default browser video controls.
Example:
<Superhero slots="video, heading, text, buttons" variant="halfWidth" textColor="black" overGradient controls autoplay loop/>
[video_url](https://example.com/path/to/video.mp4)
# Build Extensions for Your Users
Create powerful tools and integrations.
* [Get Started](https://example.com/getting-started)
* [View Examples](https://example.com/examples)
For a hero with a background image and video together, see Half Width with Background Image and Video.