Ownable Install
Install Radio 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 radionpx
npx tailng add radioGenerated files
The command scaffolds local files under src/app/tailng-ui/radio.
src/app/tailng-ui/radio/tng-radio-primitive.tssrc/app/tailng-ui/radio/tng-radio.tssrc/app/tailng-ui/radio/tng-radio.htmlsrc/app/tailng-ui/radio/tng-radio.csssrc/app/tailng-ui/radio/index.ts
Import in your feature module/component
Imports
import { TngRadio, TngRadioPrimitive } from './tailng-ui/radio';
Usage
Template usage
<tng-radio
name="billing-plan"
value="pro"
[checked]="selectedPlan === 'pro'"
(checkedChange)="onPlanChange('pro', $event)"
>
Pro plan
</tng-radio>