WINDOW-CHROME
Source: design-system/components/WindowChrome/WindowChrome.tsx. React Server Component, zero client JavaScript.
Props
| Prop | Type | Default | Required |
|---|---|---|---|
Propsize | Typenumber | Default10 | Requiredno |
PropclassName | Typestring | Defaultnone | Requiredno |
Propstyle | TypeCSSProperties | Defaultnone | Requiredno |
Sizes
SOURCE
<WindowChrome />
<WindowChrome size={12} />
<WindowChrome size={9} />Pass size in pixels for context: 10 in the shell and contact panel headers. The site header carries no window dots.
Accessibility
The red, yellow and green dots are aria-hidden and decorative. The component has no focus behavior.