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

@dendelion/mojo-ui

v0.1.1

Published

Retro styled React component library with nature-themed design tokens and glassmorphism

Downloads

239

Readme

@dendelion/mojo-ui

Retro styled React component library with nature-themed design tokens and glassmorphism.

Features

  • 28 Components — Buttons, forms, layout, navigation, feedback, data display
  • Tailwind CSS Preset — Reusable mojoPreset with nature-themed color tokens
  • Glassmorphism — Shared style utilities for glass card patterns
  • TypeScript — Full TypeScript support with strict typing
  • SCSS Modules — Scoped styling with SCSS modules
  • Accessible — ARIA labels and keyboard navigation
  • Animated — Smooth transitions powered by framer-motion

Installation

npm install @dendelion/mojo-ui
# or
yarn add @dendelion/mojo-ui
# or
pnpm add @dendelion/mojo-ui

Peer Dependencies

npm install react react-dom framer-motion tailwindcss

Quick Start

1. Configure Tailwind CSS

// tailwind.config.js
import { mojoPreset } from '@dendelion/mojo-ui/tailwind';

export default {
  presets: [mojoPreset],
  content: ['./src/**/*.{js,jsx,ts,tsx}'],
};

2. Import Global Styles

// In your app entry (e.g., main.scss)
@import '@dendelion/mojo-ui/src/globals.scss';

3. Use Components

import { Button, Card, Input } from '@dendelion/mojo-ui';

function App() {
  return (
    <Card title="Welcome">
      <Input placeholder="Enter your name" />
      <Button variant="green" title="Submit" />
    </Card>
  );
}

Components

Basic Input

  • Button — Retro-styled 3D buttons (green, yellow, gray, red)
  • IconButton — Circular icon buttons
  • Input — Text input with label support
  • Checkbox — Toggle checkbox
  • Select — Dropdown select
  • Textarea — Multi-line text input
  • Switch — Toggle switch with variants
  • Radio — Radio button group (horizontal/vertical)
  • Slider — Range slider with analog feel

Layout

  • Card — Container with header and footer
  • Panel — Multi-section container
  • PageLayout — Standard page structure
  • StatsGrid — Statistics grid layout

Navigation

  • Tabs — Tab navigation
  • VinylTabs — Themed tab navigation
  • NavigationIsland — Floating navigation bar

Feedback

  • ProgressBar — Segmented progress bar
  • CircularProgress — Circular progress indicator
  • StatsCard — Single statistic display
  • StatusIndicator — Color-coded status badge
  • Skeleton — Loading placeholder
  • Badge — Status/label badge with dot indicators
  • Alert — Alert banner with variants
  • Toast — Notification toasts with auto-dismiss

Overlay

  • Modal — Animated dialog overlay
  • Popup — Dropdown menu
  • Tooltip — Hover information tooltip

Data Display

  • DataTable — Table with retro styling

Icons

import {
  CheckIcon, CloseIcon, PlusIcon, SearchIcon,
  MenuIcon, SettingsIcon, ArrowUpIcon, ArrowDownIcon,
  SortIcon, FilterIcon,
} from '@dendelion/mojo-ui';

Shared Styles

Reusable glassmorphism and layout utilities:

import {
  container, content, title,
  statsCard, statsTitle, statsValue,
  statsGrid, serviceGrid, actionsGrid, recentList,
  glassmorphism, layout, grids, sharedStyles,
} from '@dendelion/mojo-ui/styles';

Design Tokens

Nature Colors

| Color | Shades | Usage | |-------|--------|-------| | moss | fog, calm, DEFAULT, deep, relic, accent | Success, growth | | bark | fog, calm, DEFAULT, deep, relic | Structure, wood | | coal | fog, calm, DEFAULT, deep, relic | Backgrounds, dark surfaces | | clay | fog, calm, DEFAULT, deep, relic | Warm accents | | river | fog, calm, DEFAULT, deep, relic | Info, water elements | | paper | fog, calm, DEFAULT, deep, relic, accent | Light surfaces | | sun | fog, calm, DEFAULT, deep, relic | Highlights, warnings | | ember | fog, calm, DEFAULT, deep, relic | Errors, danger |

Typography

| Family | Usage | |--------|-------| | Tiny5 | Display text, headings | | KyivType Sans | UI elements, form inputs | | KyivType Serif | Body text | | JetBrains Mono | Code, monospace |

Development

# Install dependencies
npm install

# Start showcase
npm run dev

# Build library
npm run build

# Type check
npm run check-types

License

MIT