UI SDK Sink: Interactive Demo Gallery for UI Primitives

X postChánh ĐạiResource

Chánh Đại highlighted the 'Sink' demo gallery from UI SDK, showcasing a comprehensive collection of advanced UI primitives and interaction patterns. The examples span from virtualised lists and spreadsheets to node editors and gesture handling. It offers front-end developers a concrete reference for building fluid interfaces.

Key points

  1. Interactive demonstrations feature complex patterns such as node-based canvas editors, spreadsheets, and file trees.
  2. High rendering performance via virtualisation: 10,000 dataset items render using only seven DOM rows in the demo.
  3. Granular interaction primitives include undo stacks, roving focus, typeahead search, spring physics gestures, and programmatic dialog controllers.

Why it matters

Modern web applications require sophisticated micro-interactions beyond native HTML. This showcase offers front-end developers proven architectural patterns for keyboard navigation, gesture physics, and heavy DOM optimisations.

Analysis

The 'Sink' gallery highlights the capabilities of UI SDK by assembling interactive UI patterns and headless primitives into practical interface examples. Rather than offering purely aesthetic components, the gallery focuses on behavioural mechanics, state management, and accessibility.

Featured Interaction Patterns

The gallery covers several advanced application requirements:

  • Data Grids & Trees: A spreadsheet view featuring Shift-selection, cell range calculations, and TSV copy-paste interoperability, alongside flat-rendered hierarchical trees (visibleTreeRows, treeFromPaths).
  • Virtualised Rendering: Dynamic list virtualisation (createVirtualizer) capable of handling 10,000 items while keeping only visible rows in the DOM.
  • Interactive Canvases & Gestures: Node-based workflow wiring with pan, zoom, and port connections (createViewport, createConnect), alongside spring-based swipe dismissals for toasts and draggable sidebars.
  • Input & Keyboard Control: Command palettes (createCommandController), OTP verification inputs, undo/redo stacks (createUndoStack), and roving-focus typeahead navigation for selection lists.

By organising logic around composable primitives (createParts, definePrimitive), the SDK demonstrates how to construct responsive, accessible user interfaces without fighting rigid framework abstractions.

Original post

Chánh Đại

@iamncdai · 18 November 2026

Just found UI SDK’s demo gallery. It’s awesome. t.co/3TNImyaknz t.co/fnYtSifgv1

473 likes7 replies600 bookmarks22.4k views

View on X
Selected replies (5)
  • @orcdev @iamncdai Forgot to put it in my video :)
  • @Said8710Sajib @iamncdai Looking nice
  • @wiesson @iamncdai it's so beautiful 🥹
  • @spsbuilds @iamncdai I changed all the values, hope you don't mind
  • @quang__design @iamncdai there's moree???

Links and tools from this entry

Summary generated by AI (Gemini 3.8 Flash, 19 November 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Link:ui-sdk.dev

    UI SDK Kitchen Sink: Interactive UI Primitives and Gestures in Action

    The UI SDK kitchen sink showcases a comprehensive suite of frontend primitives and micro-interactions. Examples include virtualised lists, spreadsheet cell selection, drag-and-drop mechanics, node wiring, and keyboard grid navigation. The demo highlights how to construct complex web applications using composable building blocks.

    Web development· Demo

  • X post:Shu

    UI SDK: Interactive Behaviour Demos and Component Primitives

    Shu (@shuding) has shared the 'Sink' showcase featuring interactive examples for UI SDK. The demo presents real-world component patterns and their underlying behaviour primitives in action, from touch gestures to keyboard navigation. It provides frontend engineers with a direct environment to test complex interaction logic.

    967bookmarks109.4kviews

    Web development· Demo

  • X post:shadcn

    shadcn Previews Agent-First UI SDK for Component Architectures

    shadcn highlighted a video by orcdev discussing the upcoming UI SDK built with an agent-first approach. With AI agents becoming both creators and users of interfaces, the project re-evaluates how core component abstractions should be designed.

    353bookmarks26.3kviews

    AI & LLMs· Announcement

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.