WEBVTT

1
00:00:00.000 --> 00:00:06.840
Meet Frame: the visual page builder for Drupal, built from the components your theme already has.

2
00:00:06.840 --> 00:00:14.364
This is Umami, the demo site that ships with Drupal. Its homepage is hand-coded: templates, views and blocks.

3
00:00:14.364 --> 00:00:19.964
Let’s rebuild it as an editable page, without writing a line of code.

4
00:00:19.964 --> 00:00:27.873
Open the AI assistant and describe the page in plain words: a hero, three promoted cards, the recipe collections.

5
00:00:27.873 --> 00:00:36.935
The assistant knows your components. It searches the media library, composes the layout, then looks at its own result and corrects it.

6
00:00:36.935 --> 00:00:45.460
Moments later the homepage is on the canvas, built from real components, with real content from the site.

7
00:00:45.460 --> 00:00:50.368
One click, and it is published.

8
00:00:50.880 --> 00:00:59.942
The assistant gives you a head start, and the page stays yours. Every block is a component you can change by hand.

9
00:00:59.942 --> 00:01:07.465
Everything here works with Paragraphs as well: paragraph types and the Paragraphs Library are blocks like any other.

10
00:01:07.465 --> 00:01:15.758
Let’s make it interactive. Find a React component in the blocks, and drag it into the middle of the page.

11
00:01:15.758 --> 00:01:24.050
It is alive right in the editor: recipes loaded from a Drupal view, and filters that answer as you click.

12
00:01:24.050 --> 00:01:31.189
Now shape it with the mouse. The layout, the look of the cards, the controls visitors get.

13
00:01:31.189 --> 00:01:38.328
Colours and sizes come from the design tokens of your theme, so every page stays on brand.

14
00:01:38.328 --> 00:01:47.851
Text fields speak Drupal tokens. Type a square bracket and pick one: here, the name of the site.

15
00:01:49.012 --> 00:01:58.535
Links search your content as you type. Start with a slash, and find a page by its path.

16
00:01:59.911 --> 00:02:07.511
And because the component declares a slot, other components drop right inside it.

17
00:02:10.469 --> 00:02:15.489
Happy with it? Copy the whole component, with everything inside.

18
00:02:15.489 --> 00:02:25.012
Start a brand-new page, give it a title, and paste. Settings, content and nested blocks all come along.

19
00:02:28.560 --> 00:02:38.775
Pages are built by teams. Here two editors open the same page at the same time: the admin on the left, Margaret on the right.

20
00:02:38.775 --> 00:02:46.488
The admin restyles the recipe explorer, while Margaret drags in a quote of her own.

21
00:02:46.488 --> 00:02:55.164
Different blocks, one page. No locks, no overwrites: each sees the other’s changes as they happen, with a name on them.

22
00:02:55.164 --> 00:03:02.686
Every change lands in the history, yours and your teammates’: go back to any step with a click.

23
00:03:02.686 --> 00:03:10.210
And every save is a Drupal revision: preview an older version of the page, and put it back.

24
00:03:10.210 --> 00:03:13.961
One click publishes the work of both.

25
00:03:13.961 --> 00:03:24.177
Need the page in another language? Every text prop of a component is translatable out of the box, and the layout is shared between languages.

26
00:03:24.177 --> 00:03:30.623
So just ask the assistant: translate this page into Spanish.

27
00:03:32.294 --> 00:03:40.681
The texts are Spanish now. The structure and the settings stay in step with the original page.

28
00:03:40.681 --> 00:03:47.051
What visitors get is a fast, server-rendered Drupal page. No editor code, no page-builder runtime.

29
00:03:47.051 --> 00:03:56.574
Only the interactive parts load React. Filter, sort and slide through the recipes without a single page reload.

30
00:03:59.071 --> 00:04:06.979
The pasted copy lives on its own page, with its own settings, exactly as the two editors left it.

31
00:04:06.979 --> 00:04:13.041
And in Spanish, the same layout speaks another language.

32
00:04:13.800 --> 00:04:24.784
Under the hood there is no magic, and no lock-in. The block you just saw is a standard Drupal Single Directory Component: one folder in your theme.

33
00:04:24.784 --> 00:04:33.461
Describe a prop in YAML, and it becomes a field in the editor. A string is a text field with tokens.

34
00:04:33.461 --> 00:04:39.062
Mark it as a link, and editors search the content of the site.

35
00:04:39.062 --> 00:04:42.355
A list of choices turns into checkboxes.

36
00:04:42.355 --> 00:04:49.493
A colour comes straight from the palette of the theme: no free-hand colour pickers, no off-brand pages.

37
00:04:49.493 --> 00:04:54.323
Declare a slot, and any other component can be dropped inside.

38
00:04:54.323 --> 00:05:01.847
The React bundle is attached as an ordinary Drupal library, loaded only on pages that use the component.

39
00:05:01.847 --> 00:05:10.524
And when a component evolves, its schema is versioned: declare a migration, and every stored page is brought up to date.

40
00:05:10.524 --> 00:05:16.894
The Twig template stays in charge of the markup: server-rendered, cacheable, friendly to search engines.

41
00:05:16.894 --> 00:05:24.802
Props travel to React as JSON, and the slot is printed by Drupal, right next to the React root.

42
00:05:24.802 --> 00:05:34.632
A few lines mount React through Drupal behaviors, so the component works after AJAX, inside BigPipe, and live on the canvas of the editor.

43
00:05:34.632 --> 00:05:43.308
And the component itself is plain React. It fetches a Drupal view as JSON, filters it in the browser, and renders.

44
00:05:43.308 --> 00:05:50.840
No registration, no glue code. Save the files, rebuild the cache, and the block is in the editor.

45
00:05:50.840 --> 00:05:56.776
Frame works with any UI kit or design system, and with Drupal Paragraphs too.

46
00:05:56.776 --> 00:06:02.760
It is coming soon. What you saw is a preview of work in progress.

47
00:06:02.760 --> 00:06:09.120
Interested? Follow the project on drupal.org, and tell us what you would build with it.
