SusMenuScreenChrome

Style host / USS companion for menu layouts (SusMenuContentShell) — optional element; sheet also loads via Resources.
Package
SusGame · Screens (commercial)
SusGame · Screens
Props
No public props.
Slots
No slots.
Events
No public events.
Style hooks
USS class contract — override appearance without touching C#. States toggle via these classes:
sus-menu-hubsus-menu-hub-hiddensus-menu-screensus-menu-screen__backgroundsus-menu-screen__btn--cardsus-menu-screen__buttonssus-menu-screen__buttons--gridsus-menu-screen__buttons--herosus-menu-screen__buttons--sidebarsus-menu-screen__buttons--vcsus-menu-screen__centersus-menu-screen__center--paddedsus-menu-screen__ctasus-menu-screen__footersus-menu-screen__herosus-menu-screen__hintsus-menu-screen__linksus-menu-screen__linkssus-menu-screen__mainsus-menu-screen__rowsus-menu-screen__sidebarsus-menu-screen__title--gridsus-menu-screen__title--herosus-menu-screen__title--sidebarsus-menu-screen__title--vc
Usage
No props, slots, or events. Instantiating the element is optional — menu shells attach SusMenuScreenChrome.g.uss to menu roots. Use class names below when building custom menu markup.
xml
<template>
<!-- Optional: ensures chrome element exists in Storybook / trees -->
<sus:SusMenuScreenChrome />
</template>
<script>
// No Prop<> / public API fields — stylesheet + BEM classes only.
</script>csharp
// Prefer SusMenuContentShell / flow screens that attach the sheet.
// If composing manually, add classes from the companion USS, e.g.:
// root.AddToClassList("sus-menu-screen");
// buttons.AddToClassList("sus-menu-screen__buttons");| Prop / API | Role |
|---|---|
| — | No Prop<> / public methods |
| Classes | sus-menu-screen, __background, __buttons, __links, __footer, __center, __hero, __sidebar, __main, __hint, __btn--card, __link, hub transition (sus-menu-hub / sus-menu-hub-hidden) |
Notes
- Buyer shot shows a composed menu using these classes — not interactive props on this type.
- Do not invent menu-item APIs here; wire buttons via kit
SusMenuButton/ shell helpers.