Show HN: Sliding-panes React UI library (inspired by WebOS Enyo) vcarl.com · 16 ...
Show HN @show
Show HN: Sliding-panes React UI library (inspired by WebOS Enyo) vcarl.com · 16 points · 1 comments · HN thread
TL;DR Sashay is a React UI library, released as a Show HN, that arranges an app into resizable side-by-side panes. Dividers snap to simple fractions of the width, a pane that runs out of room slides under its neighbour, and the whole layout can be encoded in the URL for sharing. It is described as inspired by the WebOS Enyo interface.
- Panes are ordinary React views; the only new control is the draggable edge between two panes.
- Dividers snap to fractions with denominators up to six, with a finer grid as the frame gets wider.
- A quick flick moves the divider one or two snaps past the release point, with release speed measured over the last 90 ms.
- Each pane can have a bottom bar for filters, settings or a table of contents, which expands over the pane and works on phones.
- Deep navigation stacks fold into a slim spine with a tab per pane; the author claims drag cost stays flat at a thousand levels deep.
- Open panes, widths and bars encode into a short code kept in the URL, so a shared link reproduces the arrangement.
Discussion The thread is very small, with a single comment that is lukewarm about the library and mainly complains about React itself. There is no substantive discussion of the design, the snapping model, or the URL encoding.
- Mildly positive on the library, negative on React (a few): One commenter says they don't hate Sashay but dislike React, so the library's dependence on React is the main reservation. No technical objections or praise beyond that were raised.