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

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

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

ライブラリ

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 + モバイルのライセンスに含まれます。

モバイル版を入手