Getting StartedInstallation and setup guides 4
Quick Start
Installation
Plain CSS Setup
Tailwind Setup
FormInput and selection components 17
Input
Form Field
Datepicker
Textarea
Input OTP
Label
Checkbox
Toggle
Radio
Button Toggle
ListBox
AutoComplete
MultiAutocomplete
SelectBox
MultiSelect
Chips
Switch
LayoutWorkflow and structural layout components 6
Collapsible
Accordion
Stepper
Card
Drawer
Separator
OverlayModal and floating layer surfaces 3
Dialog
Popover
Tooltip
FeedbackStatus, empty, progress, and loading placeholder patterns 5
Toast
Empty
Progress Bar
Progress Spinner
Skeleton
UtilityGeneral-purpose interface utilities 6
Avatar
Badge
Tag
Codeblock
CopyButton
Button
NavigationMenu surfaces and hierarchical actions 5
Breadcrumb
Menubar
Menu
Context Menu
Tree

Quick start with Components

Install the packages, wire up the theme, and render your first TailNG component in a few minutes.

Getting Started

Quick Start

Fast path to scaffold and run your first TailNG component page.

1. Install the core packages

Add the TailNG Components layer and its peer dependencies to your workspace. Choose your package manager below.

pnpm

bash
pnpm add @tailng-ui/components @tailng-ui/theme @tailng-ui/icons

2. Register the TailNG theme

TailNG ships theme tokens and presets so your components share a consistent visual foundation. Register the theme provider once near the root of your Angular app.

Configure theme providers

ts
import { ApplicationConfig } from '@angular/core';
import { provideRouter } from '@angular/router';
import { defaultDarkThemePreset, provideTailngTheme } from '@tailng-ui/theme';
import { routes } from './app.routes';

export const appConfig: ApplicationConfig = {
  providers: [
    provideRouter(routes),
    provideTailngTheme({ theme: defaultDarkThemePreset }),
  ],
};

3. Import a component and render it

TailNG Components are standalone. Import them directly into your feature component and use them in the template.

Use a TailNG button

ts
import { Component } from '@angular/core';
import { TngButtonComponent } from '@tailng-ui/components';

@Component({
  selector: 'app-quick-start-example',
  imports: [TngButtonComponent],
  template: `
    <button tngButton variant="primary">Save changes</button>
  `,
})
export class QuickStartExampleComponent {}

4. Try a simple form input

Combine layout and input components to build real product UI quickly. This example uses tng-input with leading adornments.

Compose an input field

html
<tng-input
  type="email"
  placeholder="you@example.com"
  ariaLabel="Email"
  required
></tng-input>

Next steps

From here, you can explore the full component catalog, wire up more advanced primitives, or deepen your theme configuration as your product needs grow.