Beyond-UI keeps runtime dependencies minimal and uses optional peer dependencies for features that not every app needs. This document summarizes the current state and the policy.
>=18.0.0) – peer; required.>=0.74.0) – optional peer. Omit for web-only apps; required for React Native.>=13.0.0) – required for Chart components (BarChart, DonutChart, LinearChart, StackedBarChart, PopulationPyramid, etc.) and any component that uses SVG. If you don’t use those components, you can still install it to satisfy the peer or rely on optional handling if we ever make it optional.>=3.0.0) – optional peer. Used for advanced animation (AnimatedView, etc.). If not installed, the library degrades gracefully.>=2.0.0) – optional peer. Used for gesture-driven components. If not installed, those features may be no-ops or use fallbacks.>=4.0.0) – optional peer. Used for safe area insets. If not installed, layout may not respect notches/status bar.All Storybook, testing, type, and build tools are devDependencies. They are not installed when consumers install @unicornlove/beyond-ui.
| Package | Type | Optional | Used for |
|---|---|---|---|
| react | peer | No | Core |
| lucide-react-native | direct | No | Icons |
| react-native | peer | Yes | RN-only features |
| react-native-svg | peer | No | Charts, SVG icons |
| react-native-reanimated | peer | Yes | Advanced animation |
| react-native-gesture-handler | peer | Yes | Gestures |
| react-native-safe-area-context | peer | Yes | Safe areas |
This audit reflects the state as of the last update. When adding or changing dependencies, update this file and keep optional/peer usage for anything that isn’t needed by every consumer.