Skip to content

macOS Window

Free

A macOS 26 app window with a title bar, unified toolbar, or compact toolbar, a floating sidebar, and real UI inside.

  • React 19
  • Tailwind CSS 4

Added Nov 10, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Import macOS Window and compose its parts.

macos-window.tsx

MacosWindow

<figure>
PropTypeDefaultDescription
activebooleantrue
kind"compact""titlebar""toolbar""titlebar"
heightstring | number—A fixed window height in px or any CSS length. Default: the bar plus the content.
appearance"dark""light""system""system"The look of the chrome: the page theme (system), or always light or dark.
...props<figure> attributes—Every other attribute goes to the <figure>, with a ref.

MacosWindowSidebar

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowTitleBar

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowTrafficLights

<div>
PropTypeDefaultDescription
showGlyphsboolean—
size"default""sm"—
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowHeading

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowTitle

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

MacosWindowSubtitle

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

MacosWindowContent

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowToolbarGroup

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowSearch

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MacosWindowMagnifier

<svg>
PropTypeDefaultDescription
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.
  • Use it for a desktop app page.
  • Pass sidebar for the floating sidebar.
  • Set active={false} for a window that is not in front.

The bar title is a picture, and the frame label names it.

The content stays real.

Built with

Installs with macOS Window

  1. AddedmacOS Window, with macOS Traffic Lights.
Open the release