Foundations first
Review the shared tokens, typography, and layout first. Then read each component page for behavior and usage guidance.
Component pages
Each page covers examples, usage guidance, keyboard behavior, the key API, and tokens. Unimplemented items are labeled Planned. Unstyled re-exports are labeled Primitive only.
Design direction
Surflane builds UI for platform development from consistent tokens, components, and patterns. It covers visual choices and implementation rules together. It evolves through real use and testing.
- Surfaces first
- Build hierarchy with surfaces and whitespace. Use lines only where a boundary is needed.
- Clear interaction
- Make state changes, focus, and keyboard and touch feedback clear.
- Composable foundations
- Connect shared color, typography, spacing, and size standards through composable APIs.
This direction isn't a fixed, finished plan. New design decisions update the foundations and behavior examples, and refine the standards over time.