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

@kenpan/zds-r8f3v1

v0.5.0

Published

React component library built with MUI and TypeScript

Readme

ZDS Component Library

A modern React component library built with MUI (Material-UI) and TypeScript. Designed for building beautiful, accessible, and consistent user interfaces. Optimized for Figma Make integration.

Features

  • 60+ Production-Ready Components - Buttons, forms, dialogs, tables, navigation, and more
  • 1194 Icons - Comprehensive icon library as React components
  • MUI Foundation - Built on Material-UI for robust theming and accessibility
  • TypeScript First - Full type safety with comprehensive type exports
  • Design Tokens - Consistent spacing, colors, typography, and shadows
  • Figma Make Ready - Optimized with guidelines for AI-powered code generation
  • Accessible - WCAG 2.1 compliant focus states and keyboard navigation

Installation

npm install @kenpan/zds-r8f3v1 @mui/material @emotion/react @emotion/styled

Peer Dependencies

{
  "@emotion/react": "^11.0.0",
  "@emotion/styled": "^11.0.0",
  "@mui/material": "^6.0.0 || ^7.0.0",
  "@mui/x-data-grid": "^7.0.0 || ^8.0.0",
  "react": "^18.0.0 || ^19.0.0",
  "react-dom": "^18.0.0 || ^19.0.0"
}

Quick Start

1. Set up the Theme Provider

import { ThemeProvider } from '@mui/material/styles'
import CssBaseline from '@mui/material/CssBaseline'
import { theme } from '@kenpan/zds-r8f3v1/theme'

function App() {
  return (
    <ThemeProvider theme={theme}>
      <CssBaseline />
      {/* Your app */}
    </ThemeProvider>
  )
}

2. Import and Use Components

import { Button, Card, CardHeader, Badge, Alert } from '@kenpan/zds-r8f3v1'
import { PlusIcon } from '@kenpan/zds-r8f3v1/icons'

function MyComponent() {
  return (
    <Card>
      <CardHeader 
        title="Dashboard" 
        actions={
          <Button variant="primary" iconLeading={<PlusIcon size={20} />}>
            Add Item
          </Button>
        }
      />
      <Alert color="success">Welcome to ZDS!</Alert>
    </Card>
  )
}

Package Exports

// Main components
import { Button, Card, Alert, Dialog, Table } from '@kenpan/zds-r8f3v1'

// Theme and design tokens
import { theme, gray, primaryScale, typography } from '@kenpan/zds-r8f3v1/theme'

// Icons (1194 icons available)
import { PlusIcon, ChevronDownIcon, SearchSmIcon } from '@kenpan/zds-r8f3v1/icons'

Component Categories

Base Components

  • Button, ButtonGroup
  • Card, CardHeader
  • Badge, StatusBadge, IndicatorBadge
  • Tag, Dot, Tooltip, Icon
  • Accordion, AccordionItem

Form Components

  • InputField, InputNumber, InputSearch
  • InputDropdown
  • Checkbox, Radio, Switch
  • Slider

Feedback Components

  • Alert
  • Toast
  • EmptyState
  • Skeleton

Layout Components

  • PageHeader, SectionHeader
  • ContentDivider
  • BackgroundOverlay

Navigation Components

  • HeaderNavigation
  • SidebarNavigation
  • Breadcrumbs, HorizontalTabs
  • SlideoutMenu

Overlay Components

  • Dialog, DialogHeader, DialogFooter
  • Popover, PopoverHeader, PopoverContent, PopoverFooter
  • Dropdown, DropdownMenu

Data Display Components

  • Table, TableCell
  • ProgressBar, ProgressIndicator, LoadingIndicator
  • Scorecard, Tile, DonutChart
  • ActivityFeed, SelectionGroup
  • Carousel

Product Components

  • ProductCard
  • ProductBadges, ProductDescription

Icons

The library includes 1194 pre-built icon components:

import { 
  // Navigation
  ChevronDownIcon, ChevronUpIcon, ChevronLeftIcon, ChevronRightIcon,
  ArrowLeftIcon, ArrowRightIcon,
  
  // Actions
  PlusIcon, MinusIcon, XCloseIcon, CheckIcon,
  EditOneIcon, TrashOneIcon, SearchSmIcon,
  
  // Status
  CheckCircleIcon, AlertCircleIcon, InfoCircleIcon, HelpCircleIcon,
  
  // UI
  HomeLineIcon, SettingsOneIcon, UserOneIcon, BellOneIcon,
} from '@kenpan/zds-r8f3v1/icons'

// Usage
<PlusIcon size={24} />
<SearchSmIcon size={16} color="#376BFD" />

Theme & Design Tokens

Access design tokens through the theme:

import { useTheme } from '@mui/material/styles'

function MyComponent() {
  const theme = useTheme()
  
  return (
    <Box
      sx={{
        // Colors
        color: theme.palette.primary.main,
        bgcolor: theme.palette.grey[50],
        
        // Spacing (4px base)
        padding: theme.spacing(4), // 16px
        gap: theme.spacing(2), // 8px
        
        // Typography
        fontSize: 14,
        fontWeight: 500,
        
        // Shadows
        boxShadow: theme.shadows[1],
      }}
    >
      Content
    </Box>
  )
}

Color Palette

| Color | Main | Usage | |-------|------|-------| | Primary | #376BFD | Primary actions, links | | Success | #17B26A | Success states | | Error | #F04438 | Error states | | Warning | #F79009 | Warning states | | Gray | #697586 | Secondary text, borders |

Figma Make Integration

This library is optimized for Figma Make with comprehensive guidelines:

  1. Create a new Figma Make file
  2. Ask the AI to install: install @kenpan/zds-r8f3v1
  3. The AI reads guidelines/ to understand component usage

Guidelines Structure

guidelines/
├── Guidelines.md              # Main entry point
├── overview-components.md     # Component overview
├── overview-icons.md          # Icon system
├── design-tokens/
│   ├── colors.md             # Color tokens
│   ├── typography.md         # Typography tokens
│   └── spacing.md            # Spacing system
└── components/
    ├── button.md
    ├── dialog.md
    ├── forms.md
    ├── table.md
    ├── alert.md
    ├── card.md
    ├── badge.md
    ├── navigation.md
    └── layout.md

Documentation

Component Guidelines

Development

# Install dependencies
npm install

# Generate icons
npm run generate:icons

# Build the library
npm run build

# Type checking
npm run typecheck

License

MIT License - See LICENSE for details.