A standard Win98 window with title bar and body.
Window content goes here.
<.window>
<.window_title_bar title="My Computer" />
<.window_body>
<p>Window content goes here.</p>
</.window_body>
</.window>
Title bar with minimize, maximize, and close controls.
Has minimize, maximize, and close buttons.
Dialog-style with close button only.
With help and close buttons.
<.window_title_bar title="All Controls" controls={[:minimize, :maximize, :close]} />
<.window_title_bar title="Close Only" controls={[:close]} />
<.window_title_bar title="Help & Close" controls={[:help, :close]} />
Windows change gradient when unfocused.
This window is focused.
This window is not focused.
<.window_title_bar title="Active Window" />
<.window_title_bar title="Inactive Window" inactive />
Window with a segmented status bar at the bottom.
Hello, World!
<.window_status_bar>
<.window_status_bar_field grow>Ln 1, Col 14</.window_status_bar_field>
<.window_status_bar_field>UTF-8</.window_status_bar_field>
<.window_status_bar_field>Windows (CRLF)</.window_status_bar_field>
</.window_status_bar>
A dialog window with icon in title bar and action buttons.
Configure event sounds for the application.
<.window>
<.window_title_bar title="Sounds" controls={[:close]} />
<.window_body>
<p>Configure event sounds.</p>
<div class="flex justify-end gap-2">
<.button size="sm">OK</.button>
<.button variant="outline" size="sm">Cancel</.button>
</div>
</.window_body>
</.window>