Installation

Install the package

pnpm add @objectifthunes/limestone-sdk
npm install @objectifthunes/limestone-sdk
yarn add @objectifthunes/limestone-sdk

Peer dependencies

Most peer dependencies are required only when you use the corresponding feature. Install the ones that match your project.

PackageRequiredUsed by
reactYesAll components and hooks
react-nativeYesAll components and hooks
react-native-reanimatedOptional./animations subpath only
react-native-gesture-handlerOptionalBottomSheet, ScalePress
react-native-svgOptionalIcon component
react-native-safe-area-contextOptionalSafeArea component
expo-linear-gradientOptionalGradient component
expo-blurOptionalBlurView component
@react-native-community/datetimepickerOptionalDatePicker component

Install only what you need. For a minimal start with layout and text:

pnpm add react react-native
npm install react react-native
yarn add react react-native

Requirements

RequirementMinimum version
Node.js20
React Native0.76
Expo SDK52
Module systemESM only

Import paths

The SDK exposes several subpath exports. Pick the ones your project needs.

SubpathContents
@objectifthunes/limestone-sdkMain barrel: core, theme, provider, hooks, all components, forms
@objectifthunes/limestone-sdk/animationsFadeIn, SlideUp, ScalePress, SpringBounce, Stagger — requires react-native-reanimated
@objectifthunes/limestone-sdk/expo-biometricscreateExpoBiometrics adapter
@objectifthunes/limestone-sdk/expo-cameracreateExpoCamera adapter
@objectifthunes/limestone-sdk/expo-secure-storecreateExpoSecureStore adapter
@objectifthunes/limestone-sdk/expo-hapticscreateExpoHaptics adapter
@objectifthunes/limestone-sdk/expo-notificationscreateExpoNotifications adapter
@objectifthunes/limestone-sdk/expo-purchasescreateExpoPurchases adapter
@objectifthunes/limestone-sdk/expo-permissionscreateExpoPermissions adapter
@objectifthunes/limestone-sdk/expo-sharingcreateExpoSharing adapter
@objectifthunes/limestone-sdk/expo-clipboardcreateExpoClipboard adapter
@objectifthunes/limestone-sdk/expo-locationcreateExpoLocation adapter
@objectifthunes/limestone-sdk/expo-media-librarycreateExpoMediaLibrary adapter
@objectifthunes/limestone-sdk/expo-mapcreateExpoMap adapter
@objectifthunes/limestone-sdk/expo-web-browsercreateExpoWebBrowser adapter
@objectifthunes/limestone-sdk/expo-contactscreateExpoContacts adapter
@objectifthunes/limestone-sdk/expo-reviewcreateExpoReview adapter
@objectifthunes/limestone-sdk/expo-keychaincreateExpoKeychain adapter
@objectifthunes/limestone-sdk/expo-videocreateExpoVideo adapter (enhanced video with expo-video)
@objectifthunes/limestone-sdk/expo-qr-scannercreateExpoQRScanner adapter (powered by expo-camera)
@objectifthunes/limestone-sdk/expo-web-viewcreateExpoWebView adapter (powered by react-native-webview)
@objectifthunes/limestone-sdk/r3f3D scene components — requires @react-three/fiber + expo-gl
@objectifthunes/limestone-sdk/viroAR components — requires @viro-community/react-viro
@objectifthunes/limestone-sdk/devAll adapters backed by in-memory doubles — same factory names, no native modules
@objectifthunes/limestone-sdk/testingIn-memory doubles with inspectable state, plus createTestApp