React Native
@storybook/react-native
A better way to develop React Native Components for your app
React Native Libraries
react
react-native
storybook
@storybook/react-native
React Native Libraries
javascript
npm
frontend
open source
ui
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @storybook/react-nativeCode example
import { View, Text, StyleSheet } from "react-native";
import { Native } from "@storybook/react-native";
export function Example() {
return (
<View style={styles.box}>
<Text style={styles.title}>React Native</Text>
<Native />
</View>
);
}
const styles = StyleSheet.create({
box: { flex: 1, alignItems: "center", justifyContent: "center", gap: 8 },
title: { fontSize: 18, fontWeight: "600" },
});Pros & cons
Pros
- Actively maintained by ndelangen
- 0 weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- 0 open issues on GitHub