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

@sonny-ui/core

v0.1.0-alpha.24

Published

Angular UI component library inspired by shadcn/ui — signals, zoneless, Tailwind CSS v4

Readme

@sonny-ui/core

Beautiful, accessible Angular components built with Tailwind CSS v4 and Signals. Inspired by shadcn/ui.

  • Directive & Component-based — lightweight directives for simple elements, full components for complex interactions
  • Signal inputsinput(), model(), output(), computed(), linkedSignal() — pure Angular 21 signals API
  • Zoneless — built for provideZonelessChangeDetection()
  • Themeable — CSS custom properties with light, dark, and corporate themes
  • Accessible — WAI-ARIA compliant, keyboard navigation, screen reader support
  • Reactive Forms — ControlValueAccessor on all form components

Installation

Automatic (recommended)

ng add @sonny-ui/core

This installs the package, adds Tailwind CSS v4 if needed, imports sonny-theme.css, and provides SonnyUI in your app config.

Manual

npm install @sonny-ui/core

Then in your app.config.ts:

import { provideZonelessChangeDetection } from '@angular/core';
import { provideSonnyUI } from '@sonny-ui/core';

export const appConfig = {
  providers: [
    provideZonelessChangeDetection(),
    provideSonnyUI({ defaultTheme: 'light' }),
  ],
};

And import the theme in your global styles:

@import "tailwindcss";
@import "@sonny-ui/core/styles/sonny-theme.css";

Requirements

  • Angular >= 21.0.0
  • Angular CDK >= 21.0.0
  • Tailwind CSS v4

Components (60+)

Layout & Navigation

| Component | Description | |-----------|-------------| | Accordion | Expandable sections, single/multi mode | | Breadcrumb | Navigation trail with dynamic segments | | Navbar | Responsive navigation bar with variants | | Tabs | Tabbed content with triggers and panels | | Steps | Step-by-step progress indicator | | Pagination | Page navigation with sibling/boundary counts | | Divider | Horizontal/vertical content separator |

Data Display

| Component | Description | |-----------|-------------| | Table | Default/striped/bordered, 3 densities, sticky header | | Data Table | Full-featured: sorting, filtering, pagination, row selection, expansion, column visibility, custom cell templates, bulk actions, loading skeleton, JSON export | | Card | Content containers — 4 variants, selectable | | Badge | Status labels — 6 variants, 3 sizes | | Avatar | User images with fallback initials | | Avatar Group | Stacked avatars with overflow counter, fallback initials | | Stat | Statistic display with label/value/change | | Timeline | Chronological event display | | List | Styled list items | | Kbd | Keyboard shortcut display | | Status | Status indicator dots | | Indicator | Positioned badge indicators | | Diff | Side-by-side content comparison |

Form Controls

| Component | Description | |-----------|-------------| | Input | Text input — default/error/success variants | | Textarea | Multi-line text input | | Select | Dropdown selection with search | | Combobox | Searchable dropdown with keyboard navigation | | Checkbox | Signal-based with two-way binding | | Radio | Signal-based radio groups | | Switch | Toggle switches with two-way binding | | Slider | Range input with min/max/step, drag support | | Toggle | Pressed state buttons for toolbars | | Rating | Star rating with half-star support | | File Input | File upload with drag & drop | | Fieldset | Grouped form fields with legend | | Calendar | Date grid with single/range selection, hover preview | | Date Picker | Single date with calendar dropdown, clearable, min/max | | Date Range Picker | Date range with dual calendar, preset ranges, responsive | | Color Picker | Visual color selector with saturation panel, hue slider, HEX/RGB/HSL, presets, favorites, EyeDropper API | | Number Input | Numeric stepper with +/- buttons, min/max/step, ArrowUp/Down | | OTP Input | One-time password input with auto-focus, paste, mask, separator, status feedback | | Tag Input | Tag/chip creator with Enter/comma, validation, maxTags, Backspace remove | | Validator | Form validation message display |

Feedback & Overlays

| Component | Description | |-----------|-------------| | Alert | Callout messages — 5 variants, dismissible | | Toast | Notifications — 4 variants, positioned, with actions | | Modal / Dialog | Dialog overlays using Angular CDK | | Sheet | Slide-out panels from any side | | Drawer | Bottom/side drawer panels | | Tooltip | Hover/focus tooltips | | Dropdown Menu | Context menus with items, separators, labels | | Command Palette | Searchable command menu with groups, keyboard nav, service-based | | Popover | Floating panel with trigger, positioning, click-outside, escape |

Visual

| Component | Description | |-----------|-------------| | Button | 6 variants, 4 sizes, loading state, link mode | | Button Group | Grouped actions, horizontal/vertical | | Loader | Spinner, dots, and bars variants | | Skeleton | Loading placeholders — line/circular/rounded | | Progress | Linear progress bar | | Radial Progress | Circular progress indicator | | Carousel | Image/content slider | | Chat Bubble | Message bubbles for chat UI | | Dock | macOS-style dock with hover scaling | | FAB | Floating action button | | Link | Styled anchor with variants |

Usage

import { SnyButtonDirective, SnyCardDirective } from '@sonny-ui/core';

@Component({
  imports: [SnyButtonDirective, SnyCardDirective],
  template: `
    <div snyCard padding="md">
      <h3>My Card</h3>
      <button snyBtn variant="default">Click me</button>
      <button snyBtn variant="outline">Cancel</button>
    </div>
  `,
})
export class MyComponent {}

Theming

Three built-in themes: light, dark, corporate. Toggle at runtime:

import { ThemeService } from '@sonny-ui/core';

themeService = inject(ThemeService);
themeService.setTheme('dark');

CSS custom properties:

--sny-background, --sny-foreground,
--sny-primary, --sny-primary-foreground,
--sny-secondary, --sny-secondary-foreground,
--sny-accent, --sny-accent-foreground,
--sny-muted, --sny-muted-foreground,
--sny-destructive, --sny-destructive-foreground,
--sny-border, --sny-ring, --sny-radius

Links

License

MIT