@allem-ui/native
v0.0.4
Published
React Native component library for Allem UI — 44 components with NativeWind
Maintainers
Readme
@allem-ui/native
44 production-ready React Native components with stunning defaults, dark mode, and zero configuration.
Installation
npm install @allem-ui/nativePeer Dependencies
npm install react react-native nativewindOptional (for mobile-only components)
npm install @gorhom/bottom-sheet react-native-reanimated react-native-gesture-handler expo-hapticsQuick Start
import { Button, Input, Badge, Avatar, Toast } from "@allem-ui/native";
export function App() {
return (
<View>
<Input label="Email" placeholder="[email protected]" />
<Button variant="solid" color="primary">Submit</Button>
<Badge color="success">Active</Badge>
<Avatar src="https://example.com/photo.jpg" name="Ahmed" status="online" />
</View>
);
}Components
Foundation (8)
Box Text Heading Divider Badge Spinner Skeleton Avatar
Forms (8)
Button Input Textarea Checkbox Switch Radio Slider Select
Layout & Data (8)
Flex Grid Container Code Link Card Table Breadcrumbs
Overlay & Navigation (10)
Modal Drawer Accordion Tabs Tooltip Popover Dropdown ContextMenu Toast Pagination
Mobile Only (10)
BottomSheet ActionSheet SwipeableRow PullToRefresh FAB OTPInput SearchBar SegmentedControl StatusBarManager useHaptic
Features
- Beautiful defaults — Looks great out of the box with no styling required
- Dark mode — First-class dark mode support on every component
- Same API as web —
variant,size,color,classNameprops - Inline styles — No NativeWind dependency for visual rendering
- NativeWind compatible — Accepts
classNamefor layout overrides - Accessible — Full React Native accessibility props
- TypeScript strict — Complete type safety and autocomplete
- Tree-shakeable — Import only what you use
Props API
All components follow a consistent prop pattern:
| Prop | Values | Description |
|------|--------|-------------|
| variant | solid, outline, ghost, subtle, link | Visual style |
| size | sm, md, lg | Component size |
| color | primary, neutral, danger, success, warning | Color scheme |
| className | string | NativeWind class overrides |
Part of Allem UI
This is the React Native package for the Allem UI monorepo. For web components, see @allem-ui/react.
Support
If you find Allem UI useful, consider supporting its development:
