GitHub

Split Pane

Two-panel layout with main content and a collapsible side panel. Uses a hidden checkbox — no JavaScript needed. On desktop: side-by-side with a divider toggle. On mobile (<992px): toggles between panels (main vs side, full-width each).

Collapsible with Divider (No JS)

Preview

Main Content

Click the toggle on the divider bar to collapse/expand the side panel. No JavaScript required.

Side Panel

This panel collapses smoothly with CSS transitions.

Left Panel with Divider

Preview

Navigation

Left side panel with divider toggle.

Main Content

The chevron direction flips automatically for left-side panels.

Starts Collapsed

Preview

Main Content

The side panel starts collapsed. Click the toggle on the divider to expand it.

Side Panel

Revealed when expanded.

Glass Variant

Preview

Main Content

Glass side panel on a gradient background.

Glass Panel

Frosted glass side panel.

POS Sales Screen

Real-world example: point-of-sale with products on the left and cart on the right. On desktop the split-pane shows both. On mobile the cart is hidden — a basket badge in the header opens a full-screen cart overlay (above the header) with a back button to close it. No JavaScript needed.

POS — Products + Cart

Cart

Cappuccino

2
$9.00

Club Sandwich

1
$8.50
Subtotal $17.50
Tax (10%) $1.75
Total $19.25
Quick POS
Cashier: Ana

Cappuccino

$4.50

Orange Juice

$3.00

Club Sandwich

$8.50

Croissant

$2.80

Espresso

$2.50

Caesar Salad

$9.90

Cart 3

Cappuccino

2
$9.00

Club Sandwich

1
$8.50
Subtotal$17.50
Tax (10%)$1.75
Total$19.25