~/talk

Bootstrapping Simple Server Driven Ui from a Design System

Talkat droidcon New York 2023 · 2023-09-14..09-15· [design-collaboration]
links:none on file
slides:none on file

Careem builds a server-driven UI layer on top of its design system using Jetpack Compose and SwiftUI and a polymorphic payload model that deserializes into a Component wrapper. Components implement a component interface with content() to self-render on Android; alternatives considered include Kotlin Multiplatform sharing, code‑gen from a YAML spec, or expect/actual. User events are handled as actions and routed by composition locals, and extensibility is either open deserialization (plugin components) or open primitives (rows/columns). Demo runs on Android, desktop and web; code is on GitHub.

AI-written summary · about

  1. 0:00Introduction to server-driven UI
  2. 4:47Design system benefits for SDUI
  3. 8:17Building server-driven UI components
  4. 15:46Finalizing the server-driven UI API
  5. 19:22Handling interactive events
  6. 25:41Extending server-driven UI
  7. 31:19Live demo of SDUI
  8. 36:36Multi-platform support
  9. 38:01Q&A and future challenges
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.