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

@tailng-ui/ui

v0.25.0

Published

Modern Angular UI components powered by Tailwind CSS

Readme

@tailng-ui/ui

PROD - Release & Deploy (Tailng)

NPM Version License: MIT

Modern Angular UI components powered by Tailwind CSS. Built for Angular 21+ with standalone components, signals, and a clean API.

Overview

@tailng-ui/ui is a comprehensive component library for Angular applications. It provides 50+ production-ready components styled with Tailwind CSS, featuring a "Material-like" developer experience without heavy theming overhead.

Installation

npm install @tailng-ui/ui

Peer Dependencies

  • @angular/core: ^21.0.0
  • @angular/common: ^21.0.0
  • @angular/forms: ^21.0.0
  • @tailng-ui/cdk: ^0.1.0

Features

  • Standalone Components: All components are standalone, no NgModules required
  • Signal-based API: Built with Angular signals for reactive, performant components
  • Tailwind CSS: Styled with utility classes, fully customizable
  • Accessible: WCAG-compliant components with proper ARIA attributes
  • Type-safe: Full TypeScript support with comprehensive types
  • Tree-shakable: Import only what you need
  • CSS Variables: Theme support via CSS custom properties
  • Slot-based styling: Consistent styling API via the slot input across components

Quick Start

import { Component } from '@angular/core';
import { TngButton } from '@tailng-ui/ui';

@Component({
  selector: 'app-example',
  standalone: true,
  imports: [TngButton],
  template: `
    <tng-button variant="primary">Click me</tng-button>
  `,
})
export class ExampleComponent {}

Component Categories

Form Controls

Complete set of form input components with validation support:

  • Autocomplete - Searchable dropdown with typeahead
  • Checkbox - Single and multi-select checkboxes
  • Chips - Multi-value input with tags
  • Datepicker - Date selection with calendar
  • Timepicker - Time selection component
  • Form Field - Wrapper with label, hint, and error states
  • Text Input - Standard text input
  • Number Input - Numeric input with validation
  • Textarea - Multi-line text input
  • File Upload - File selection and upload
  • Radio Button - Single selection from options
  • Select - Dropdown selection
  • Slider - Range input slider
  • Slide Toggle - Toggle switch
  • Button Toggle - Toggle button group

Buttons & Indicators

Interactive elements and status indicators:

  • Button - Primary, outline, and text variants
  • Badge - Status badges and labels
  • Icon - Icon component (from @tailng-ui/icons)
  • Ripples - Material-style ripple effect
  • Progress Bar - Linear progress indicator
  • Progress Spinner - Circular progress indicator
  • Skeleton - Loading placeholder

Layout

Structural components for page layout:

  • Card - Container with header, content, and footer
  • Divider - Visual separator
  • Expansion Panel - Collapsible content panel
  • Tabs - Tabbed interface
  • Accordion - Collapsible accordion list

Navigation

Components for app navigation:

  • Menu - Context and dropdown menus
  • Sidenav - Side navigation drawer
  • Drawer - Slide-out drawer panel
  • Stepper - Multi-step wizard
  • Paginator - Pagination controls
  • Breadcrumbs - Navigation breadcrumb trail

Popups & Overlays

Modal and overlay components:

  • Dialog - Modal dialog
  • Snackbar - Toast notifications
  • Tooltip - Hover tooltips
  • Popover - Contextual popover

Data Table & Structure

Data display components:

  • Table - Data table with sorting and filtering
  • Sort Header - Sortable table columns
  • Filter Header - Filterable table columns
  • Tree - Hierarchical tree view
  • Virtual Scroll - Efficient scrolling for large lists
  • Empty State - Empty state placeholder

Utilities

Helper components:

  • Code Block - Syntax-highlighted code display
  • Copy Button - Copy-to-clipboard button

Usage Examples

Button

import { TngButton } from '@tailng-ui/ui';

@Component({
  template: `
    <tng-button variant="primary">Primary</tng-button>
    <tng-button variant="outline">Outline</tng-button>
    <tng-button variant="text">Text</tng-button>
  `,
  imports: [TngButton],
})
export class MyComponent {}

Form Input

import { TngTextInput } from '@tailng-ui/ui';
import { FormControl, ReactiveFormsModule } from '@angular/forms';

@Component({
  template: `
    <tng-text-input
      [formControl]="email"
      type="email"
      placeholder="Enter email"
    />
  `,
  imports: [TngTextInput, ReactiveFormsModule],
})
export class MyComponent {
  email = new FormControl('');
}

Dialog

import { TngDialog } from '@tailng-ui/ui';

@Component({
  template: `
    <tng-dialog>
      <div tngDialogHeader>
        <h2>Confirm Action</h2>
      </div>
      <div tngDialogContent>
        Are you sure you want to proceed?
      </div>
      <div tngDialogFooter>
        <tng-button (click)="close()">Cancel</tng-button>
        <tng-button variant="primary" (click)="confirm()">Confirm</tng-button>
      </div>
    </tng-dialog>
  `,
  imports: [TngDialog, TngButton],
})
export class MyComponent {}

Theming

Components support theming via CSS variables:

:root {
  --color-primary: #2563eb;
  --radius: 0.25rem;
  --surface: #ffffff;
  --surface-2: #f8fafc;
}

See @tailng-ui/theme for the complete theming guide.

Slot-based styling

Many components expose a slot input that accepts an object of region keys (e.g. container, header, panel) with Tailwind class strings. Classes are merged with the component’s defaults so you can override or extend styles per region:

// Example: style the button container and inner content
<tng-copy-button
  [text]="code()"
  [slot]="{ container: 'rounded-xl shadow-md', content: 'gap-2' }"
/>

Each component defines its own slot keys (see Tng*Slot types); use the slot input for micro-styling without losing default behavior.

Related Packages

Documentation

License

MIT