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 ファイル、共有の beUI Native ファイル 25 件、components/beui-pro 配下のテーマトークンを追加します。相対 import が解決されるよう、フォルダ構成はそのまま保たれます。

$ 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 ファイル、共有の beUI Native ファイル 25 件、components/beui-pro 配下のテーマトークンを追加します。相対 import が解決されるよう、フォルダ構成はそのまま保たれます。

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

ライブラリ

SDK とバージョンを合わせるため Expo でインストールし、グローバル CSS で Tailwind と Uniwind の後に components/beui-pro/beui/styles/theme.css を import します。Expo SDK 58 で動作確認済み。新しいアプリですか?セットアップガイドに沿って進めましょう。

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

ソースはモバイルと Web + モバイルのライセンスに含まれます。

モバイル版を入手