Tab bars

2 バリエーション

Bottom tab bars in three styles, and tabs over swipeable pages with a pill that follows your finger.

Tab Bar

ブロック3 スタイル

Three bottom tab bars: a gliding pill, a tab that grows to show its label, and a centre button that fans out shortcuts.

このアイテムの 9 ファイル、共有の beUI Native ファイル 2 件、components/beui-pro 配下のテーマトークンを追加します。相対 import が解決されるよう、フォルダ構成はそのまま保たれます。

$ bunx --bun shadcn add @beui-pro/native-tab-bar

Scroll Tabs

ブロック

Tabs over swipeable pages, with a pill that follows your finger and stretches toward the next tab.

このアイテムの 5 ファイル、共有の beUI Native ファイル 1 件、components/beui-pro 配下のテーマトークンを追加します。相対 import が解決されるよう、フォルダ構成はそのまま保たれます。

$ bunx --bun shadcn add @beui-pro/native-scroll-tabs

ライブラリ

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

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

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

モバイル版を入手