Getting StartedOwnable model, workflow, and first local install 2
LayoutInstallable layout wrappers with local source ownership 6
OverlayInstallable overlay wrappers with local source ownership 3
FeedbackInstallable feedback wrappers with local source ownership 5
FormInstallable form components 11
UtilityInstallable utility wrappers with local source ownership 6
NavigationInstallable navigation components 6
ToolingCLI and registry contracts 2
ReleasePublishing and workflow structure for the ownable surface 1

Ownable Install

Install Badge from the TailNG registry with the shadcn-like flow. This copies source files into your app so your team can own and evolve the implementation locally.

Install from registry

Run from your Angular workspace root.

pnpm

bash
pnpm dlx tailng add badge

Generated files

The command scaffolds local files under src/app/tailng-ui/badge.

  • src/app/tailng-ui/badge/tng-badge-primitive.ts
  • src/app/tailng-ui/badge/tng-badge.ts
  • src/app/tailng-ui/badge/index.ts

Import in your feature module/component

Imports

ts
import { TngBadge, TngBadgePrimitive } from './tailng-ui/badge';

Usage

Template usage

html
<button
  type="button"
  [tngBadge]="42"
  tngBadgeTone="danger"
>
  Notifications
</button>