Referral & rewards

2 个变体

A referral code stamped into a steel card that tilts under your finger, steps on a thread that draws itself, and a foil scratch card that flakes away to reveal the reward.

Referral Screen

页面

A referral code stamped into a steel card that catches the light and tilts under your finger, steps on a thread that draws itself and a list of friends you can remind.

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

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

Scratch Card

区块

A reward under a coat of foil that you scratch off with a finger, shedding flakes, until the rest lifts away with a sweep of light and Claim rises in.

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

$ bunx --bun shadcn add @beui-pro/native-scratch-card

依赖库

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

npx expo install @shopify/react-native-skia react-native-gesture-handler react-native-reanimated react-native-svg react-native-worklets
npm install uniwind tailwindcss

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

获取移动端