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

london-ui

v0.1.2

Published

Opinionated ui library built on top of mantine ui

Readme

London UI

An opinionated UI library built on top of Mantine UI

npm version License: MIT

London UI is a carefully curated collection of React components designed to accelerate development while maintaining consistency and quality. Built on the solid foundation of Mantine UI, London UI provides pre-configured, opinionated components that follow modern design principles and best practices.

🚀 Features

  • 🎯 Opinionated by Design - Pre-configured components with sensible defaults
  • ⚡ Built for Speed - Ready-to-use components out of the box
  • 🎨 Mantine Foundation - Leverages the robust Mantine UI ecosystem
  • 📱 Modern & Responsive - Mobile-first design approach
  • ♿ Accessible - WCAG compliant components
  • 🔧 TypeScript First - Full TypeScript support with comprehensive type definitions
  • 🎭 Storybook Documentation - Interactive component documentation

📦 Installation

# npm
npm install london-ui @mantine/core @mantine/hooks

# yarn
yarn add london-ui @mantine/core @mantine/hooks

# pnpm
pnpm add london-ui @mantine/core @mantine/hooks

🎯 Quick Start

1. Setup Provider

import { UIProvider } from 'london-ui'
import 'london-ui/dist/index.css'

function App() {
  return (
    <UIProvider>
      {/* Your app content */}
    </UIProvider>
  )
}

Note: UIProvider automatically includes MantineProvider with London UI's default theme, so you don't need to wrap with both providers.

2. Custom Theme (Optional)

import { UIProvider } from 'london-ui'

function App() {
  return (
    <UIProvider
      theme={{
        fontFamily: 'Inter, sans-serif',
        primaryColor: 'blue',
      }}
    >
      {/* Your app content */}
    </UIProvider>
  )
}

3. Use Components

import { DataGrid, StatCard, TextInput } from 'london-ui'

function Dashboard() {
  return (
    <div>
      <TextInput
        label="Search"
        placeholder="Enter search term..."
        name="search"
      />

      <StatCard
        title="Total Users"
        value="1,234"
        description="Active users this month"
        color="#3b82f6"
      />

      <DataGrid
        data={users}
        columns={columns}
        searchable
        sortable
      />
    </div>
  )
}

🧩 Components

Atoms

  • Logo - Configurable logo component
  • TextInput - Enhanced text input with validation

Molecules

  • Breadcrumb - Navigation breadcrumb
  • EmptyView - Empty state component
  • ErrorBoundary - Error boundary with fallback UI
  • FileInput - File upload component
  • FilePreview - File preview component
  • FiltersDropdown - Advanced filtering dropdown
  • LoadingView - Loading state component
  • ModalLayout - Modal wrapper with consistent styling
  • RadioSelect - Radio button selection
  • StatCard - Statistics display card
  • Table - Feature-rich data table
  • TimeRange - Date/time range picker
  • Topbar - Application header component
  • DataGrid - Advanced data grid with virtualization

Organisms

  • DashboardLayout - Complete dashboard layout
  • Navigation - Sidebar navigation component
  • FormBuilder - Dynamic form builder with validation
  • KanbanBoard - Drag-and-drop kanban board

Charts

  • BarChart - Customizable bar charts
  • LineChart - Line and area charts
  • PieChart - Pie and donut charts

📖 Documentation

Visit our Storybook documentation to explore components interactively with live examples and API documentation.

🎨 Tailwind CSS Integration

London UI works seamlessly with Tailwind CSS:

Tailwind v3

// tailwind.config.js
module.exports = {
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/london-ui/dist/**/*.{js,mjs}'
  ],
  // ... rest of config
}

Tailwind v4

@import "tailwindcss";
@import "london-ui/dist/index.css";

@config {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/london-ui/dist/**/*.{js,mjs}"
  ];
}

🔧 Development

# Install dependencies
pnpm install

# Start Storybook
pnpm storybook

# Build library
pnpm build

# Run tests
pnpm test

# Type checking
pnpm typecheck

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Development setup
  • Component creation guidelines
  • Code standards and conventions
  • Testing requirements
  • Pull request process

📄 License

MIT © Cedric Mutesa

🔗 Links

🏗️ Built With


Built and maintained by Cedric Mutesa