beUI Pro 移动端已上线

Headers & menus

2 个变体

A header that settles into a solid bar as the page scrolls, and a long-press menu you slide through to pick an action.

Collapsing Header

页面

A stay page whose photos stretch and slide away under the details while the buttons settle into a solid bar.

添加它的 8 个文件、13 个共享的 beUI Native 文件,以及 components/beui-pro 下的主题变量,并保留文件夹结构,确保相对导入正常解析。

$ bunx --bun shadcn add @beui-pro/native-collapsing-header

Action Menu

区块

A long-press menu that lifts the item over a dim and lets you slide to an action and let go.

添加它的 7 个文件、4 个共享的 beUI Native 文件,以及 components/beui-pro 下的主题变量,并保留文件夹结构,确保相对导入正常解析。

$ bunx --bun shadcn add @beui-pro/native-action-menu

依赖库

使用 Expo 安装以匹配你的 SDK 版本,然后在全局 CSS 中 Tailwind 和 Uniwind 之后导入 components/beui-pro/beui/styles/theme.css。已在 Expo SDK 58 上测试。新应用?按照设置指南操作。

npx expo install react-native-gesture-handler react-native-reanimated react-native-svg react-native-worklets
npm install uniwind tailwindcss

源码包含在移动端和 Web + 移动端许可证中。

获取移动端