import { Component } from '@angular/core';
RdxCheckboxIndicatorDirective,
RdxCheckboxInputDirective
} from '@radix-ng/primitives/checkbox';
import { RdxLabelDirective } from '@radix-ng/primitives/label';
import { Check, LucideAngularModule } from 'lucide-angular';
selector: 'radix-checkbox-demo',
RdxCheckboxIndicatorDirective,
RdxCheckboxInputDirective,
<div style="display: flex; align-items: center;">
<button class="CheckboxRoot" CheckboxRoot>
<lucide-angular class="CheckboxIndicator" [img]="CheckIcon" CheckboxIndicator size="16" />
<input id="r1" CheckboxInput type="checkbox" />
<label class="Label" rdxLabel htmlFor="r1">Check Item</label>
styleUrl: 'checkbox-demo.css'
export class CheckboxDemoComponent {
readonly CheckIcon = Check;