A React Native component library built on Tamagui, designed for cross-platform applications.
Note: This is a demo project for my professional portfolio.
npm install @puzzlebottom/totm-ui-components
# or
yarn add @puzzlebottom/totm-ui-componentsAll platforms require:
npm install react tamagui @tamagui/config react-native-svgFor React Native / Expo:
npm install react-native @react-native-masked-view/masked-view expo-linear-gradientFor Web:
npm install react-dom react-native-webWrap your app with the UIProvider:
import { UIProvider, Button, GradientText } from '@puzzlebottom/totm-ui-components'
function App() {
return (
<UIProvider>
<Button>Click me</Button>
<GradientText>Beautiful gradient text</GradientText>
</UIProvider>
)
}# Install dependencies
yarn install
# Generate type declarations (watches for changes)
cd src
yarn dev
# Or build types once
yarn buildcd dev/web
yarn storybookcd dev/native
yarn start- Tamagui - Universal UI components
- React Native - Cross-platform framework
- Expo - Development tooling
- Storybook - Component development environment
MIT