Skip to content

Resizable

Adjust the space between two panels with the pointer or arrow keys.

alpina-ui/interactive/resizable

Interactive preview

Index

01 Format

02 Grid

03 Colour

Format

An A3 sheet measures 297 × 420 mm. Both columns share a baseline.

Usage notes

The resize handle expands to 44 CSS pixels at the default root size on coarse pointers. Keyboard arrows adjust the split and Enter restores the previous size.

When to use

Let a reviewer widen a document beside its annotations while keeping both panes visible.

When to avoid

On a narrow screen, give each pane its own view if neither remains readable at minimum width.

Accessibility

Give the separator a name that identifies the pane being resized. Verify keyboard resizing at both limits and keep the handle visible at high zoom.

Keys
KeyAction
Arrow keysMove the divider along its resize axis. Add Shift for a larger step.
Home / EndMove to the minimum or maximum size.
EnterCollapse or restore the first panel.

Content

Use a short noun phrase for the separator. Translate the pane name consistently with its heading.

Use
Document width
Avoid
Drag here with your mouse

Copy in four languages

German
Dokumentbreite14 characters
French
Largeur du document19 characters
Italian
Larghezza del documento23 characters
Romansh
Ladezza dal document20 characters
Add to your project
npx --no-install alpina add resizable