Slab Foundations

Foundations is just a fancy word for stuff that our Figma, React Native, and React Web components share. The goal of sharing is, of course, caring. But also it makes our UI feel consistent across products.

  • Design tokens are shared variables for color and spacing.
  • Using design tokens in turn enables us to theme our apps (think dark mode). Theming works differently in Figma, mobile, and web.
  • We're working on guides for things like using animation, using depth (shadows), and writing product copy — with the goal of removing any guesswork and encouraging consistency.