Building a universal & accessible component library for the native and the web
summary
Library aims to deliver accessible, cross‑platform components that run on iOS, Android and web by combining react-native-aria hooks with react‑native‑web and Expo. The team ships a working checkbox pattern that hides a real input in a wrapper, spreads inputProps and inputRef to the DOM, and mirrors accessibilityRole/state on native; most components are in NativeBase v3 alpha (alpha.nativebase.io). Project reports 40,000 downloads per week, ~200 contributors and partial web support with more fixes underway.
AI-written summary · about
chapters (14)
- 0:00Introduction to universal component library
- 1:28Building a checkbox component
- 3:56Adding accessibility to components
- 6:45React Native accessibility differences
- 7:30Extending to web with React Native Web
- 9:39Introducing React Native ARIA library
- 11:47Key considerations in component design
- 13:13NativeBase version 2 overview
- 13:55Style system in NativeBase v3
- 14:58Accessibility in NativeBase v3
- 15:41Dark mode support
- 16:24Web support status
- 17:08Utility-first component examples
- 18:11Roadmap and future plans
