Interactive Demos
Explore all the features of the <browser-window> component
Basic Usage with Source Viewing
Load external HTML with the src attribute. Click the </> icon to view the source code!
Light & Dark Mode
The component automatically follows system theme preference. Use mode="light" or mode="dark" to override.
This window is always light
This window is always dark
Resizable
Drag the bottom-right corner to resize. The component respects min-width and min-height constraints.
Drag the corner to resize!
Slotted Content
When no src is provided, use slotted content directly. Great for screenshots or custom HTML.
Dashboard
Welcome back! Your stats are looking great.
Maximize Mode
Double-click the header or click the green button to maximize. Press Escape or click the overlay to restore.
Custom Theming
Use CSS custom properties to create custom themes.
Custom purple theme using CSS custom properties