App-Seitenleiste (nex) — component.app-sidebar
1.0.0 (25.10.2026, David: nex-Sidebar in Invisible): Seitenleiste der nex-Apps (bos, social, wingq, snappy) - ausgeklappt die volle Navigation (Kopf mit Logo, App-Name und Einklappen-Knopf, Suche, Gruppen mit Ueberschrift - optional aufklappbar, Knopf im Kopf, Leertext -, Eintraege mit Symbol oder F
Beispiele
nex-Grundgeruest (bos): Gruppen Main/Apps/System, Theme, Benutzer
snappy: Suche Strg+K, Favoriten (sortierbar), Projekte nach Kontext, verstellbar
Eingeklappt (Icon-Rail): Symbole, Zaehler als Punkt
1.11: Projekte als Ablageziel – Aufgabe aus einer Liste auf ein Projekt ziehen (dropUrl)
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
toggleIcon | string: chevrons | panel | "chevrons" |
appName | string | "" |
appSubtitle | string | "" |
switcher | object | [] |
activeAppearance | string: surface | tint | "surface" |
badgeAppearance | string: text | pill | "text" |
logoUrl | string | "" |
logoIcon | string | "app-window" |
homeHref | string | "" |
label | string | "" |
mobileBar | object | [] |
mobileTitle | string | "" |
groups | array | [] |
favorites | object | [] |
pinUrl | string | "" |
notifications | object | [] |
search | object | [] |
themeToggle | boolean | false |
theme | string: light | dark | "light" |
themeLight | string | "nex-light" |
themeDark | string | "nex-dark" |
themeStorageKey | string | "" |
user | object | [] |
collapsible | boolean | true |
collapsed | boolean | false |
storageKey | string | "" |
width | number | 224 |
resizable | boolean | false |
minWidth | number | 200 |
maxWidth | number | 400 |
toggleKey | string: | mod+b | mod+backslash | "" |
anchor | string | "" |
Events & Slots
Events: app-sidebar-collapse, app-sidebar-width, app-sidebar-search, app-sidebar-action, app-sidebar-reorder, app-sidebar-move-failed, app-sidebar-pin, app-sidebar-pin-failed, app-sidebar-notifications, app-sidebar-theme
Slot top: akzeptiert ui.*, component.*
Slot nav: akzeptiert ui.*, component.*
Slot footer: akzeptiert ui.*, component.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--app-sidebar-collapsed | var(--size-14, 3.5rem) |
--app-sidebar-bg | var(--color-surface-page) |
--app-sidebar-text | var(--color-text-muted) |
--app-sidebar-text-strong | var(--color-text-default) |
--app-sidebar-hover | var(--color-surface-hover) |
--app-sidebar-active | var(--color-nav-active, var(--color-surface-default)) |
--app-sidebar-active-shadow | var(--elevation-nav-active, var(--shadow-control)) |
--app-sidebar-active-text | var(--color-nav-active-text, var(--app-sidebar-text-strong)) |
--app-sidebar-active-image | var(--gradient-nav-active, none) |
--app-sidebar-accent-image | var(--gradient-brand, none) |
--app-sidebar-gap | var(--size-2) |
--app-sidebar-item-height | var(--nav-item-height, calc(var(--size-8) + var(--size-05))) |
Genutzte Design-Tokens
border.hairline color.accent color.accent-soft color.border.default color.border.subtle color.brand.on color.chart.3 color.chart.4 color.nav.active color.nav.active-text color.nav.group-title color.nav.hover color.status.danger color.status.info color.status.success color.status.warning color.surface.default color.surface.hover color.surface.inverse color.surface.overlay color.surface.page color.text.default color.text.link color.text.muted duration.base duration.fast elevation.nav-active focus.ring-color focus.ring-width font.family.default gradient.brand gradient.nav-active nav.active-tint nav.group-title-weight radius.control radius.full radius.lg radius.md radius.overlay radius.sm shadow.control shadow.overlay-large shadow.overlay-small size.05 size.1 size.1-5 size.14 size.2 size.3 size.4 size.5 size.6 size.8 tag.amber.tone tag.blue.tone tag.gray.tone tag.green.tone tag.on tag.orange.tone tag.pink.tone tag.red.tone tag.teal.tone tag.violet.tone text.2xs text.md text.sm text.xs weight.bold weight.medium weight.regular weight.semibold z.modal