Skip to main content
Skip to design system navigation

WINDOW-CHROME

Source: design-system/components/WindowChrome/WindowChrome.tsx. React Server Component, zero client JavaScript.

Props

PropTypeDefaultRequired
PropsizeTypenumberDefault10Requiredno
PropclassNameTypestringDefaultnoneRequiredno
PropstyleTypeCSSPropertiesDefaultnoneRequiredno

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.