Import Windows Caption Buttons and compose its parts.
windows-caption-buttons.tsx
WindowsCaptionButtons
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| size | "default""lg" | — | |
| state | "hover-close""hover-minimize""inactive""pressed-close""rest" | "rest" | |
| variant | "chrome""default" | — | |
| maximized | boolean | false | The window fills the screen: the middle button shows the restore glyph. |
| appearance | "dark""light""system" | "system" | The look of the glyphs and fills: the page theme (system), or always light or dark. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |



