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

mokri-ui

v0.1.10

Published

A fast and elegant UI library built with Next.js + Tailwind

Downloads

33

Readme

mokri

A minimal, beautiful React components library built with Next.js, TypeScript, and Tailwind CSS.

Components

  • Button - Customizable buttons with variants
  • Button Group - Grouped button components
  • Card - Content containers
  • Input - Form input fields
  • Textarea - Multi-line text input
  • Checkbox - Custom checkbox component
  • Switch - Toggle switches
  • Badge - Status indicators
  • Avatar - User profile images
  • Calendar - Date picker calendar
  • Date Picker - Date selection component
  • Command - Command palette
  • Dropdown - Dropdown menus
  • Dropdown Menu - Advanced dropdown
  • Collapsible - Expandable content
  • Accordion - Collapsible sections
  • Tabs - Tab navigation
  • Modal - Overlay dialogs
  • Drawer - Slide-out panels
  • Toast - Notification messages
  • Tooltip - Hover information
  • Slider - Range input
  • Progress Bar - Loading indicators
  • Skeleton - Loading placeholders
  • Loader - Spinner components
  • Data Table - Sortable tables
  • Input OTP - One-time password input
  • Scroll Area - Custom scrollable areas
  • Carousel - Image carousels
  • Image - Optimized images
  • Banner - Alert banners
  • Breadcrumbs - Navigation breadcrumbs
  • Container - Layout containers
  • Typography - Text components
  • Testimonials - Review components
  • Marquee - Scrolling text
  • Pagination - Page navigation

Tech Stack

  • Next.js 16 - React framework
  • TypeScript - Type safety
  • Tailwind CSS v4 - Styling (CSS-based configuration)
  • Framer Motion - Animations
  • React Slick - Carousel components

Getting Started

Installation

# Install the package
npm install mokri-ui

# Install peer dependencies
npm install tailwindcss@^4.1.0 @tailwindcss/postcss@^4.1.16 tailwindcss-animate@^1.0.7 clsx@^2.1.1 tailwind-merge@^3.3.1 framer-motion@^12.23.24 react-slick@^0.31.0 slick-carousel@^1.8.1

Setup Tailwind CSS v4

  1. Configure PostCSS (postcss.config.mjs):
const config = {
  plugins: {
    "@tailwindcss/postcss": {},
  },
};

export default config;
  1. Configure Tailwind in CSS (app/globals.css):
@import "tailwindcss";
@plugin "tailwindcss-animate";
@import "mokri-ui/tailwind.css"; /* NEW: auto-scan mokri-ui; no @source paths needed */

:root {
  --background: #ffffff;
  --foreground: #171717;
  /* ... other CSS variables */
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  /* ... other theme variables */
}

Note: Tailwind CSS v4 uses CSS-based configuration instead of tailwind.config.ts. With mokri-ui, just import mokri-ui/tailwind.css and you do not need to add any @source lines. See the full installation guide.

Usage

import { Button, Card } from 'mokri-ui'

export default function Page() {
  return (
    <Card>
      <Button>Get Started</Button>
    </Card>
  )
}

Development

# Clone the repository
git clone https://github.com/sanwalsulehri/mokri.git

# Install dependencies
npm install

# Start development server
npm run dev

Visit http://localhost:3000/comp to see all components in action.

License

MIT


Made by sanwalsulehri