Swap & earn

2 个变体

A token swap with its own keypad and a rate chart that draws in, and a yield vault with a balance that grows live and a compounding curve per horizon.

Swap Screen

页面

A token swap with its own keypad: token pills that trade places on flip, a rate chart that draws in, and an amount that shakes past your balance.

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

$ bunx --bun shadcn add @beui-pro/native-swap-screen

Yield Vault

页面

A balance that grows live with its last digits ticking, a compounding curve that draws in per horizon, and deposits that swap in place.

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

$ bunx --bun shadcn add @beui-pro/native-yield-vault

依赖库

使用 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 + 移动端许可证中。

获取移动端