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

@placesapp/appy-ui

v0.0.339

Published

A React component library with iOS Liquid Glass and Material 3 design system support. Built with Tailwind CSS 4, supporting automatic platform detection and adaptive styling.

Downloads

1,417

Readme

appy-ui

A React component library with iOS Liquid Glass and Material 3 design system support. Built with Tailwind CSS 4, supporting automatic platform detection and adaptive styling.

Installation

npm install appy-ui

Peer Dependencies

Make sure you have these peer dependencies installed:

npm install react react-dom tailwindcss

Setup

1. CSS Configuration

Add the following imports to your project's main CSS file (e.g., globals.css):

@import "tailwindcss";
@import "appy-ui/styles.css";
@source "../node_modules/appy-ui/dist/**/*.js";

2. Provider Setup

Wrap your app with the DesignSystemProvider:

import { DesignSystemProvider } from 'appy-ui';

function App() {
  return (
    <DesignSystemProvider>
      <YourApp />
    </DesignSystemProvider>
  );
}

Usage

import { Button, Card, CardContent, CardHeader, CardTitle } from 'appy-ui';

function MyComponent() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Welcome</CardTitle>
      </CardHeader>
      <CardContent>
        <Button>Click me</Button>
      </CardContent>
    </Card>
  );
}

Design System

The library automatically detects the user's platform and applies the appropriate design system:

  • iOS devices: iOS Liquid Glass styling (.ios class)
  • Android devices: Material 3 styling (.material class)
  • Desktop: Default styling

You can also manually set the design system:

import { useDesignSystem } from 'appy-ui';

function Settings() {
  const { designSystem, setDesignSystem, isAuto } = useDesignSystem();

  return (
    <div>
      <p>Current: {designSystem}</p>
      <button onClick={() => setDesignSystem('auto')}>Auto</button>
      <button onClick={() => setDesignSystem('ios')}>iOS</button>
      <button onClick={() => setDesignSystem('material')}>Material</button>
    </div>
  );
}

Platform-Specific Styling

Use Tailwind CSS custom variants for platform-specific styles:

<div className="bg-white ios:bg-glass-bg material:bg-m3-surface">
  Content
</div>

Layout Components

TabBar

Adaptive navigation that changes based on platform/form factor:

import { TabBar, type TabItem } from 'appy-ui';
import { Link, useRouterState } from '@tanstack/react-router';

const items: TabItem[] = [
  { id: 'home', label: 'Home', path: '/', icon: HomeIcon, activeIcon: HomeFilledIcon },
  { id: 'profile', label: 'Profile', path: '/profile', icon: UserIcon, activeIcon: UserFilledIcon },
];

function Navigation() {
  const { location } = useRouterState();

  return (
    <TabBar
      items={items}
      currentPath={location.pathname}
      LinkComponent={Link}
    />
  );
}

Header

Adaptive header with scroll animation support:

import { Header, SecondaryPageHeader, TabPageHeader } from 'appy-ui';

// For secondary pages (with back button)
<SecondaryPageHeader title="Settings" onBack={() => navigate(-1)} />

// For tab pages (with animated title)
<TabPageHeader title="Home" />

// Custom composition
<Header.Root>
  <Header.BackButton onClick={handleBack} />
  <Header.AnimatedTitle>My Page</Header.AnimatedTitle>
  <Header.TrailingAction>
    <button>Action</button>
  </Header.TrailingAction>
</Header.Root>

Components

UI Components (55+)

  • Accordion
  • Alert, AlertDialog
  • AspectRatio
  • Avatar (with Badge, Group)
  • Badge
  • Breadcrumb
  • Button, ButtonGroup
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Collapsible
  • Combobox
  • Command
  • ContextMenu
  • Dialog
  • Drawer
  • DropdownMenu
  • Empty
  • Field (form)
  • HoverCard
  • Input, InputGroup, InputOTP
  • Item
  • Kbd
  • Label
  • Menubar
  • NativeSelect
  • NavigationMenu
  • Pagination
  • Popover
  • Progress, ProgressiveBlur
  • RadioGroup
  • Resizable
  • ScrollArea
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Skeleton
  • Slider
  • Sonner (Toast)
  • Spinner
  • Switch
  • Table
  • Tabs
  • Textarea
  • Toggle, ToggleGroup
  • Tooltip

Layout Components

  • TabBar (iOS, Android, Web variants)
  • Header (with animated title)
  • WebNavBar
  • WebFooter

Hooks

  • useDesignSystem() - Access design system context
  • useDeviceContext() - Platform, form factor, keyboard detection
  • useScrolled() - Track scroll position
  • useIsMobile() - Mobile breakpoint detection

License

MIT