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

mui-apple

v0.3.4

Published

Apple-inspired UI theme for Material-UI with comprehensive color palette and component styling

Downloads

644

Readme

Apple UI Theme

A comprehensive Apple-inspired theme for Material-UI React applications, featuring authentic Apple design system colors, typography, and component styling.

Features

  • 🎨 Complete Apple Design System color palette
  • 🔧 Pre-configured Material-UI theme with Apple styling
  • 🌓 Built-in dark/light mode support
  • 📱 Apple-style component overrides (buttons, inputs, cards, etc.)
  • 🎯 TypeScript support with full type definitions
  • 🧩 Modular exports for flexible usage

Installation

npm install @stuartwisskirchen/apple-ui-theme
# or
yarn add @stuartwisskirchen/apple-ui-theme
# or
pnpm add @stuartwisskirchen/apple-ui-theme

Quick Start

import React from 'react';
import { CustomThemeProvider, Button } from '@stuartwisskirchen/apple-ui-theme';

function App() {
  return (
    <CustomThemeProvider>
      <Button variant="contained">
        Hello Apple UI!
      </Button>
    </CustomThemeProvider>
  );
}

export default App;

Usage

Theme Provider

Wrap your app with the CustomThemeProvider to enable Apple styling and theme switching:

import { CustomThemeProvider, useTheme } from '@stuartwisskirchen/apple-ui-theme';

function ThemeToggle() {
  const { mode, toggleTheme } = useTheme();
  
  return (
    <button onClick={toggleTheme}>
      Switch to {mode === 'light' ? 'dark' : 'light'} mode
    </button>
  );
}

function App() {
  return (
    <CustomThemeProvider>
      <ThemeToggle />
      {/* Your app content */}
    </CustomThemeProvider>
  );
}

Using Colors Directly

import { colors, getColor } from '@stuartwisskirchen/apple-ui-theme';

// Direct color access
const blueColor = colors.primary[500]; // Apple Blue #007AFF

// Helper function
const greenColor = getColor('success', 400); // Light Apple Green
const defaultGreen = getColor('success'); // Default (500) Apple Green

Custom Material-UI Theme

import { ThemeProvider } from '@mui/material/styles';
import { muiTheme } from '@stuartwisskirchen/apple-ui-theme';

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

Importing Components

Instead of importing from @mui/material, import all components directly from the apple-ui-theme package:

// ❌ Don't import from MUI directly
import { Button, TextField, Box } from '@mui/material';
import { useTheme } from '@mui/material/styles';

// ✅ Import everything from apple-ui-theme
import { Button, TextField, Box, useMuiTheme } from '@stuartwisskirchen/apple-ui-theme';

function MyComponent() {
  const theme = useMuiTheme();
  
  return (
    <Box sx={{ p: 2 }}>
      <TextField label="Name" />
      <Button variant="contained">Submit</Button>
    </Box>
  );
}

Available Exports

All Material-UI components and utilities are re-exported:

  • All MUI components (Button, TextField, Box, Typography, etc.)
  • All MUI icons via Icons namespace: import { Icons } from '@stuartwisskirchen/apple-ui-theme'
  • Theme utilities: useMuiTheme, alpha, styled
  • Custom theme components: useTheme, CustomThemeProvider

Workspace Setup

For monorepos, add to your pnpm-workspace.yaml:

packages:
  - 'your-app'
  - 'apple-ui-theme'

Then reference in package.json:

{
  "dependencies": {
    "@stuartwisskirchen/apple-ui-theme": "workspace:*"
  }
}

API Reference

Colors

The theme includes the complete Apple Design System color palette:

  • primary - Apple Blue variants (50-900)
  • secondary - Apple Gray variants (50-900)
  • success - Apple Green variants (50-900)
  • warning - Apple Orange variants (50-900)
  • error - Apple Red variants (50-900)
  • gray - Neutral gray variants (50-900)
  • background - Default background colors

Components

All Material-UI components are styled with Apple design principles:

  • Buttons: Flat design, no shadows, subtle hover effects
  • Text Fields: Rounded corners, clean borders, focused states
  • Cards/Papers: Subtle shadows, rounded corners
  • Tables: Clean borders, alternating row colors
  • Switches: Apple-style toggle switches
  • Typography: SF Pro font family with Apple spacing

Theme Context

  • useTheme() - Hook to access theme mode and toggle function
  • ThemeContextType - TypeScript interface for theme context

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT © Stuart Wisskirchen