The showcase at ui-sdk.dev/sink outlines a composable approach to modern web user interfaces. Instead of packaging finished, heavily styled components, the SDK exposes low-level building blocks that handle state, physics, and accessibility.
Gestures and Physics
A prominent theme is gesture-driven micro-interactions. Through utilities such as bindDrag, solveSpring, dragThreshold, and projectDistance, developers can implement spring-back sidebars, swipeable toast notifications, and reorderable layers. Spatial interactions are represented via node-based patch interfaces (createConnect) and viewport canvases (createViewport, createMove).
Keyboard Accessibility and Navigation
The library heavily emphasises keyboard-first workflows. Helpers like createGridFocus and createRovingFocus manage navigation in complex components such as seating charts, toolbars, and spreadsheets with Shift-arrow multi-selection. Features like createTypeahead, fuzzy matching (fuzzyScore), and shortcut management (matchesShortcut) ensure parity across pointer and keyboard input.
Data Handling and Layout Utilities
For heavy data presentation, the sink highlights DOM virtualisation via createVirtualizer, maintaining smooth scrolling over thousands of records with minimal DOM elements. Additionally, calendar scheduling is simplified with span stacking algorithms (stackSpans) for overlapping multi-day events.