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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@nativeai/ui

v0.9.5

Published

A comprehensive React UI component library for Native OS apps

Readme

@nativeai/ui

A comprehensive React UI component library with VS Code-inspired design patterns, built for modern applications.

Features

  • Prebuilt GUI - Clean, professional interface components
  • Modular Architecture - Import only what you need
  • TypeScript First - Full type safety and excellent IntelliSense
  • Storybook Integration - Interactive component documentation
  • Customizable - Built with Tailwind CSS for easy theming
  • Performance Focused - Optimized bundle size and runtime performance
  • Well Tested - Comprehensive test coverage with Vitest
  • Responsive - Mobile-first responsive design

Installation

npm install @nativeai/ui react-icons
# or
yarn add @nativeai/ui react-icons
# or
pnpm add @nativeai/ui react-icons

Usage

Basic Import

import { Button, Card, Layout } from '@nativeai/ui';
import '@nativeai/ui/styles';

function App() {
  return (
    <Card>
      <Card.Header>
        <h2>Welcome</h2>
      </Card.Header>
      <Card.Content>
        <p>This is a card component</p>
      </Card.Content>
      <Card.Footer>
        <Button>Get Started</Button>
      </Card.Footer>
    </Card>
  );
}

Layout Components

Create VS Code-like interfaces with the Layout system:

import { Layout } from '@nativeai/ui';

function IDE() {
  return (
    <Layout>
      <Layout.TopBar>My IDE</Layout.TopBar>
      <Layout.ActionBar>
        <button>Files</button>
        <button>Search</button>
      </Layout.ActionBar>
      <Layout.Sidebar side="left">
        File Explorer
      </Layout.Sidebar>
      <Layout.MainContent>
        Editor Area
      </Layout.MainContent>
      <Layout.Console>
        Terminal Output
      </Layout.Console>
      <Layout.BottomBar>
        Status: Ready
      </Layout.BottomBar>
    </Layout>
  );
}

Icons

Access a comprehensive set of Lucide icons:

import { FileIcon, FolderIcon, SearchIcon } from '@nativeai/ui';

function FileTree() {
  return (
    <div>
      <FolderIcon size={16} /> src/
      <FileIcon size={16} /> App.tsx
    </div>
  );
}

Components

Core Components

  • Button - Various styles and states
  • Input - Form inputs with validation states
  • Card - Content containers with header/footer

Layout Components

  • Layout - Main container with slot projection
  • ActionBar - Vertical toolbar (like VS Code)
  • TopBar - Application header
  • BottomBar - Status bar
  • Sidebar - Collapsible side panels
  • Console - Terminal-style output panel
  • MainContent - Primary content area

Icons

  • 50+ Icons - Comprehensive icon set from Lucide
  • Consistent Design - All icons follow the same design language
  • Customizable - Size, color, and styling options

Styling

The library uses Tailwind CSS and includes both light and dark theme support:

// Import the base styles
import '@nativeai/ui/styles';

// Your app content
function App() {
  return (
    <div className="dark"> {/* or light theme */}
      <Button variant="primary">Themed Button</Button>
    </div>
  );
}

Development

Setup

git clone <repository>
cd packages/ui
npm install

Scripts

npm run dev          # Start development build
npm run build        # Build for production
npm run test         # Run tests
npm run storybook    # Start Storybook
npm run lint         # Lint code

Contributing

  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 License - see the LICENSE file for details.

Support