6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
9 $icon =
$f->symbol()->glyph()->comment();
10 $contents =
$f->legacy(
"some contents.");
11 $slate1 =
$f->maincontrols()->slate()->legacy(
'legacy1', $icon, $contents);
12 $slate2 =
$f->maincontrols()->slate()->legacy(
'legacy2', $icon, $contents);
13 $divider =
$f->divider()->horizontal()->withLabel(
'Horizontal Divider with Text');
15 $glyph =
$f->symbol()->glyph()->briefcase();
16 $button =
$f->button()->bulky($glyph,
'Button',
'#');
18 $slate =
$f->maincontrols()->slate()
19 ->combined(
'combined_example',
$f->symbol()->glyph()->briefcase())
20 ->withAdditionalEntry($slate1)
21 ->withAdditionalEntry($button)
22 ->withAdditionalEntry($divider)
23 ->withAdditionalEntry($slate2);
26 $triggerer =
$f->button()->bulky(
31 ->withOnClick($slate->getToggleSignal());
33 return $renderer->render([