npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@poovarasan4046/flowerui

v0.1.2

Published

Beautiful UI components for Expo React Native - Install with CLI like shadcn/ui

Readme

FlowerUI 🌸

Beautiful, customizable UI components for Expo React Native - Install with a CLI like shadcn/ui.

Features

  • 🎨 Beautiful, production-ready components
  • 🚀 Install only what you need
  • 📦 Copy components directly to your project
  • 🎯 Full TypeScript support
  • 🌈 Customizable and themeable
  • 📱 Built specifically for Expo React Native

Installation

No installation required! Use npx to run the CLI directly:

npx flowerui@latest add bottom-sheet

Quick Start

1. Initialize FlowerUI (Optional)

npx flowerui@latest init

This creates a components directory in your project.

2. Add Components

Add components individually:

npx flowerui@latest add bottom-sheet

Or add multiple components at once:

npx flowerui@latest add bottom-sheet button card

3. Use in Your App

import { BottomSheet } from './components/bottom-sheet';

function MyScreen() {
  const [visible, setVisible] = useState(false);

  return (
    <>
      <Button title="Open Sheet" onPress={() => setVisible(true)} />
      
      <BottomSheet
        visible={visible}
        onClose={() => setVisible(false)}
        snapPoints={[0.4, 0.85]}
      >
        {/* Your content */}
      </BottomSheet>
    </>
  );
}

Available Commands

init

Initialize FlowerUI in your project:

npx flowerui@latest init

add [components...]

Add one or more components to your project:

# Add a single component
npx flowerui@latest add bottom-sheet

# Add multiple components
npx flowerui@latest add bottom-sheet button

# Interactive mode (select from list)
npx flowerui@latest add

# Overwrite existing files
npx flowerui@latest add bottom-sheet --overwrite

# Skip confirmation prompts
npx flowerui@latest add bottom-sheet --yes

list

List all available components:

npx flowerui@latest list

Available Components

Bottom Sheet

A beautiful, customizable bottom sheet with snap points and gesture handling.

Features:

  • Multiple snap points
  • Smooth animations
  • Gesture-based dragging
  • Customizable backdrop
  • TypeScript support

Usage:

npx flowerui@latest add bottom-sheet

Dependencies:

  • react-native-safe-area-context

Example:

import { BottomSheet } from './components/bottom-sheet';

<BottomSheet
  visible={isOpen}
  onClose={() => setIsOpen(false)}
  snapPoints={[0.4, 0.85]}
  initialSnapIndex={0}
  enableBackdropDismiss={true}
>
  <Text>Your content here</Text>
</BottomSheet>

Requirements

  • React Native >= 0.70.0
  • Expo SDK >= 48
  • React >= 18.0.0

How It Works

FlowerUI works by copying component source code directly into your project (not installing as npm packages). This means:

  1. Full Control: The code is yours to modify
  2. No Black Box: See exactly what's happening
  3. No Version Lock: Update components independently
  4. Tree Shaking: Only bundle what you use
  5. Easy Customization: Modify styles and behavior as needed

What Gets Installed?

When you run npx @poovarasan4046/flowerui@latest add bottom-sheet:

Copies the component source file to components/bottom-sheet.tsx
Shows installation commands for missing dependencies
Does NOT auto-install React Native or peer dependencies

What You Need to Install

You need to manually install peer dependencies when prompted:

# The CLI will show you this command if dependencies are missing
npx expo install react-native-safe-area-context

# Or for bare React Native:
npm install react-native-safe-area-context

Development

Local Development

# Clone the repository
git clone https://github.com/yourusername/flowerui.git
cd flowerui

# Install dependencies
npm install

# Build the CLI
npm run build

# Test locally
npm link
flowerui add bottom-sheet

Adding New Components

  1. Create your component in the components/ directory
  2. Add component configuration to src/registry.ts:
"your-component": {
  name: "your-component",
  description: "Your component description",
  files: ["your-component.tsx"],
  dependencies: [],
  peerDependencies: ["react", "react-native"],
  instructions: [
    "Import: import { YourComponent } from './components/your-component'",
    "Additional setup instructions..."
  ]
}
  1. Build and test:
npm run build
npm test

Publishing

Manual Publishing

# Update version in package.json
npm version patch  # or minor, or major

# Build
npm run build

# Publish to npm
npm publish

Automated Publishing (GitHub Actions)

  1. Add NPM_TOKEN to your GitHub repository secrets
  2. Create a new release on GitHub
  3. The package will be automatically published to npm

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT

Inspiration

This project is inspired by shadcn/ui - bringing the same great developer experience to React Native.

Support

Roadmap

  • [ ] More components (Button, Card, Input, Modal, etc.)
  • [ ] Theme system
  • [ ] Component variants
  • [ ] Animation presets
  • [ ] Dark mode support
  • [ ] Accessibility improvements
  • [ ] Storybook integration
  • [ ] Component playground