Ownable Install
Install Dialog 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
pnpm dlx tailng add dialognpx
npx tailng add dialogGenerated files
The command scaffolds local files under src/app/tailng-ui/dialog.
src/app/tailng-ui/dialog/tng-dialog-primitive.tssrc/app/tailng-ui/dialog/tng-dialog.tssrc/app/tailng-ui/dialog/tng-dialog.htmlsrc/app/tailng-ui/dialog/tng-dialog.csssrc/app/tailng-ui/dialog/index.ts
Import in your feature module/component
Imports
import { TngDialog } from './tailng-ui/dialog';
Usage
Template usage
<button type="button" (click)="reviewDialogOpen = true">Open review</button>
<tng-dialog
title="Review changes"
description="Confirm before publishing the release."
[open]="reviewDialogOpen"
(openChange)="reviewDialogOpen = $event"
>
<p>Dialog body content.</p>
</tng-dialog>