Skip to content
项目

关于

🍷 面向 React Native 和 Web 的响应式、无样式 UI 基础组件。

网站与应用开发

这些数字如何统计

可以做什么

  • Custom fonts, edited globally
  • Full TypeScript support
  • Responsive styles
  • Universal (Android, iOS, Web, & more)

实测星标增长

24小时
0
7天
0
15天
-1
1个月
-3

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

og

Unstyled, responsive UI primitives for React Native + Web.

<View sx={{ bg: '$primary', height: [100, 200] }} />

Documentation & Installation

Highlights

https://user-images.githubusercontent.com/13172299/136265481-4c93d5bb-15e7-4e5f-9464-64748ebf1214.mp4

  • Custom fonts, edited globally
  • Full TypeScript support
  • Responsive styles
  • Universal (Android, iOS, Web, & more)
  • Works with Expo
  • Works with Vanilla React Native
  • Works with Next.js
  • Full theme support
  • Custom theme variants
  • Insanely simple API (themed, responsive designs in one line!)
  • Works with Animated/Reanimated/Moti
  • Dark mode / custom color modes
  • Memoized styles, even when written inline
  • Atomic CSS classes, with StyleSheet.create under the hood
  • Use with @expo/vector-icons (example)
  • Linear Gradient
  • Performant: sx prop is memoized under the hood (even if you write it in render)

Next.js Conf

Fernando Rojo at Next.js Conf

I spoke at at Next.js Conf 2021 on October 26 about React Native + Next.js. Watch the video to see how we do it.

License

MIT

探索相关项目

加载中…