Nav submenu (nav_submenu
)
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
heading | Intro heading | ||
text | Intro text | ||
submenus | Sub menus | A sequence of nav_submenu components controlled bu the menu items. | |
id | ID | Used by the menu items to control the submenu. Randomly generated if missing. |
|
menu | Menu |
|
id: nav_submenu
label: 'Nav submenu'
homepage: 'https://design-system.w3.org/components/navigation.html'
slots:
heading:
id: heading
label: 'Intro heading'
text:
id: text
label: 'Intro text'
submenus:
id: submenus
label: 'Sub menus'
description: 'A sequence of nav_submenu components controlled bu the menu items.'
props:
id:
id: id
label: ID
description: 'Used by the menu items to control the submenu. Randomly generated if missing.'
schema:
type: string
menu:
id: menu
label: Menu
schema:
type: object
examples:
preview:
id: preview
label: Preview
renderable:
'@component': nav_submenu
heading: Standards
text: { }
menu:
-
title: 'Technical reports'
-
title: 'Translations of technical reports'
-
title: Liaisons
-
title: 'Promote web standards'