Skip to content

Components

Component YouTube

A heading and a line of text with a YouTube video that loads only when played, stacked or side by side: Lite YouTube as a section of its own.

Made for the page builder — try it there

Try it in the page builder

Blocks come with Pro

Preview every block now, in any theme and at any width. The source, the install command and the AI prompt unlock when Pro opens, once the catalog reaches 20 templates.

Props

PropTypeDefaultDescription
titlestringa house tour headingThe block's h2.
leadstringa line about the tourA line under the heading; empty for none.
video{ url: string; title: string; poster: string }a villa tourA YouTube link (watch, youtu.be or embed) or its id, the video's title (for screen readers and the player) and your own poster picture.
playLabelstring"Play the video"The play button's accessible name.
layout"stacked" | "split""stacked"stacked: the text centred above a wide video. split: the text beside the video from 1024px (two fifths to three).
classNamestring—Classes for the <section>.
  • Nothing is requested from YouTube before the click: the poster is your own picture, and only the play button loads the player.
  • The video is 16:9 and rounds to the theme's radius.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy