Ownable Install
Install Autocomplete 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 autocompletenpx
npx tailng add autocompleteGenerated files
The command scaffolds local files under src/app/tailng-ui/autocomplete.
src/app/tailng-ui/autocomplete/tng-autocomplete-primitive.tssrc/app/tailng-ui/autocomplete/tng-autocomplete.tssrc/app/tailng-ui/autocomplete/tng-autocomplete.htmlsrc/app/tailng-ui/autocomplete/tng-autocomplete.csssrc/app/tailng-ui/autocomplete/index.ts
Import in your feature module/component
Imports
import { TngAutocomplete, TngAutocompletePrimitive } from './tailng-ui/autocomplete';
Usage
Template usage
<tng-autocomplete
[options]="releaseOwners"
[value]="selectedOwner()"
(valueChange)="selectedOwner.set($event)"
[getOptionValue]="getOwnerValue"
[getOptionLabel]="getOwnerLabel"
placeholder="Search release owners"
[ariaLabel]="'Release owner'"
></tng-autocomplete>