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

majalab

v0.1.0

Published

Reusable React components by majaLab.

Readme

majaLab

A premium, dark-first React component library — built from true atoms up to full page templates. Token-driven, accessible, TypeScript-first, and obsessively hover-isolated.

  • 🎨 Token system — every component reads CSS variables; override one accent (#501BFD) and it cascades everywhere via color-mix.
  • 🌗 Dark by default, opt-in light theme, per-instance token overrides.
  • 🧱 Atomic architecture — primitives → atoms → forms → overlays → navigation → data-display → molecules → organisms → templates.
  • Accessible — keyboard navigation, focus traps, ARIA, prefers-reduced-motion.
  • 🧩 Hover-isolated — hovering one item never affects its siblings (all interactive state is item-level and mlb--scoped).
  • 🟦 TypeScript-first — every component ships typed props.

Install

npm install majalab framer-motion react-icons

Usage

import "majalab/styles.css";
import { ThemeProvider, Button, Heading, HighlightText } from "majalab";

export default function App() {
  return (
    <ThemeProvider mode="dark">
      <Heading as="h1" size="6xl">
        Build <HighlightText>better</HighlightText> interfaces.
      </Heading>
      <Button variant="primary" size="lg">Get started</Button>
    </ThemeProvider>
  );
}

Theming

// Re-theme any subtree with a single accent override
<ThemeProvider tokens={{ accent: "#10b981" }}>
  <Button>Emerald</Button>
</ThemeProvider>

// Opt into light mode
<ThemeProvider mode="light">…</ThemeProvider>

What's inside

| Layer | Components | | --- | --- | | Foundation | ThemeProvider, Box, Slot, Portal, VisuallyHidden, hooks (useControllableState, useDisclosure, useMediaQuery, useClickOutside), tokens | | Typography | Text, Heading, Display, Paragraph, Caption, Overline, Kicker, HighlightText, GradientText, SplitHeading, Code, InlineCode, LinkText | | Layout | Container, Section, Stack, Inline, Cluster, Grid, Center, Split, Spacer, AspectRatio, ScrollArea, Sticky, Frame | | Atoms | Button (12 variants), IconButton, ButtonGroup, ToggleButton, CopyButton, FloatingActionButton, Badge, Tag, Pill, Dot, StatusDot, Avatar, AvatarGroup, Spinner, Skeleton, Progress, Icon, Divider, Kbd, Image, Logo | | Forms | FormField, Label, HelperText, ErrorText, Input, Textarea, Select, Checkbox, Radio, Switch, Slider, RangeSlider, SearchInput, PasswordInput, NumberInput, OTPInput, ColorInput, DateInput, FileInput, InputGroup | | Overlays | Tooltip, Popover, DropdownMenu, ContextMenu, Modal, Drawer | | Navigation | Tabs, SegmentedControl, Breadcrumbs, Pagination, Stepper, NavItem, SidebarItem | | Data display | Card, StatCard, MetricCard, FeatureCard, PricingCard, TestimonialCard, UserCard, TeamCard, ProductCard, BlogCard, Table, List, DescriptionList, Rating | | Feedback | Alert, Callout, EmptyState, ToastProvider + useToast | | Motion | Motion, Reveal, Magnetic, AnimatedNumber, Marquee | | Molecules | SearchBar, FilterBar, NewsletterForm, FieldGroup, FormRow, ThemeToggle, LanguageSwitcher, CopyCodeBlock, CommandItem | | Organisms | Navbar, Sidebar, Footer, Hero, FAQ, CommandPalette, FloatingDock, CompareSlider, FileUploader, MultiStepForm, TestimonialCarousel, ContactForm, LoginForm, section grids, docs primitives | | Templates | AdminDashboard, DashboardTemplate, SettingsTemplate, AuthTemplate, SaaSLandingTemplate, PortfolioTemplate, DocumentationTemplate, EcommerceTemplate, ContactSection |

The Lab

Run the docs/playground locally:

npm run dev

It documents every layer with live previews, code, prop tables, a theme switcher, a live playground, and a dedicated Hover Isolation test page.

License

MIT © majaLab