Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

React Native TrueSheet

CI NPM Downloads Ask DeepWiki

The true native bottom sheet experience for your React Native Apps. 💩

React Native True Sheet - iPad
React Native True Sheet - IOSReact Native True Sheet - AndroidReact Native True Sheet - Web

Features

  • Powered by Fabric - Built on React Native's new architecture for maximum performance
  • 🚀 Fully Native - Implemented in the native realm, zero JS hacks
  • Accessible - Native accessibility and screen reader support out of the box
  • 🔄 Flexible API - Use imperative methods or lifecycle events
  • ⌨️ Keyboard Handling - Built-in keyboard handling with automatic adjustment
  • 📐 Side Sheets - Native side sheet support for iPad and Android tablets
  • 🪟 Liquid Glass - iOS 26+ Liquid Glass support out of the box, featured in Expo Blog
  • 🐎 Reanimated - First-class support for react-native-reanimated
  • 🧭 React Navigation - Built-in sheet navigator for seamless navigation integration
  • 🌐 Web Support - Full web support out of the box

Installation

[!IMPORTANT] Version 3.0+ requires React Native's New Architecture (Fabric) For the old architecture, use version 2.x. See the Migration Guide for upgrading.

Prerequisites

  • React Native 0.81+
  • New Architecture enabled
  • Xcode 26.1+

Compatibility

TrueSheetReact NativeExpo SDK
3.7+0.81+54+
3.60.8052-53

Expo

npx expo install @lodev09/react-native-true-sheet

Bare React Native

yarn add @lodev09/react-native-true-sheet cd ios && pod install

Documentation

Usage

import { TrueSheet } from "@lodev09/react-native-true-sheet" export const App = () => { const sheet = useRef<TrueSheet>(null) // Present the sheet ✅ const present = async () => { await sheet.current?.present() console.log('horray! sheet has been presented 💩') } // Dismiss the sheet ✅ const dismiss = async () => { await sheet.current?.dismiss() console.log('Bye bye 👋') } return ( <View> <Button onPress={present} title="Present" /> <TrueSheet ref={sheet} detents={['auto', 1]} > <Button onPress={dismiss} title="Dismiss" /> </TrueSheet> </View> ) }

AI Skills

Skills are reusable AI capabilities that give your AI coding agent knowledge about TrueSheet. With the right skill loaded, your agent can pick the right patterns, avoid common mistakes, and generate correct code without you having to explain the library every time.

npx skills add lodev09/react-native-true-sheet

This will install the TrueSheet Usage skill into your project.

That map is awesome!

Yes it is! Checkout @lugg/maps, a universal maps library for React Native that I'm developing at Lugg.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with ❤️ by @lodev09

关于 About

The true native bottom sheet experience 💩
androidbottom-sheetiosmodal-sheetnative-sheetreact-native

语言 Languages

TypeScript37.5%
Kotlin30.6%
Objective-C++22.5%
Objective-C5.2%
JavaScript1.4%
C++1.2%
Shell0.6%
Ruby0.4%
CMake0.3%
Swift0.2%
C0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
648
Total Commits
峰值: 77次/周
Less
More

核心贡献者 Contributors