Across UI Kit

Layout Patterns

Structural patterns for shell experiences.

Resizable

ComponentNew

A container with draggable handles to resize panels.

Sidebar
Main Content

Structure: .across-resizable > .across-resizable__panel + .across-resizable__handle

Vertical: Add .across-resizable--vertical to the container.

Divider

Horizontal separator with optional label. Use .across-divider--inset for indented variant or .across-divider--vertical for vertical orientation.

or
Section
Left
Right

Structure: .across-divider — empty for a plain line, add text for a labeled divider.

Layout Primitives

Utility classes for quick flex and grid layouts: .across-row, .across-col, .across-grid, with gap, alignment, and column modifiers.

.across-row .across-gap-3

A
B
C

.across-grid .across-cols-3 .across-gap-3

1
2
3

Row/Col: .across-row, .across-col

Grid: .across-grid .across-cols-{2|3|4}

Gap: .across-gap-{1-10}

Alignment: .across-align-{start|center|end|stretch}, .across-justify-{start|center|end|between|around}

Copy Button

Click-to-copy with visual feedback. Set data-copy-text for the value to copy.

Structure: <button class="across-copy-btn" data-copy-text="...">. Shows a check icon for 1.5s after clicking.