@bond-wm/react-titlebar
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

@bond-wm/react-titlebar

A frame window titlebar component implementation for the bond-wm window manager.

Usage

Use the TitleBar component within your window frame component.

import {
  TitleBar,
  TitleBarCloseButton,
  TitleBarIcon,
  TitleBarMaximizeButton,
  TitleBarMinimizeButton,
  TitleBarText,
} from "@bond-wm/react-titlebar";

return (
  <WindowFrame>
    <TitleBar>
      <TitleBarIcon />
      <TitleBarText />
      <TitleBarMinimizeButton />
      <TitleBarMaximizeButton />
      <TitleBarCloseButton />
    </TitleBar>
    <WindowClientArea />
  </WindowFrame>
);

Dependents (1)

Package Sidebar

Install

npm i @bond-wm/react-titlebar

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

37.6 kB

Total Files

25

Last publish

Collaborators

  • wnayes