@luzmo/ngx-lucero
v1.0.1-alpha.78
Published
Angular wrappers for Luzmo Lucero web components
Keywords
Readme
Luzmo Lucero Design System - Angular Wrappers
Standalone Angular wrapper components for Lucero web components
This package provides Angular wrappers for the Luzmo Lucero Design System web components.
Installation
npm install @luzmo/ngx-lucero @luzmo/lucero @angular/core @angular/formsRequirements
- Angular
>= 17.3(the wrappers use the functionaloutput()API). - The peer package
@luzmo/luceroprovides the underlying custom-element classes that the wrappers register at import time.
Usage
import { Component } from '@angular/core';
import { LuzmoButton } from '@luzmo/ngx-lucero';
@Component({
selector: 'app-root',
standalone: true,
imports: [LuzmoButton],
template: `<luzmo-button>Click me</luzmo-button>`
})
export class AppComponent {}The wrapper class name mirrors the host element (LuzmoButton); the
underlying HTMLElement subclass type is re-exported as
LuzmoButtonElement for @ViewChild / ElementRef<T> use cases.
Notes
- This package depends on
@luzmo/lucerofor the underlying custom elements. - Keep this file under
wrappers/angular/package/to customize published README content.
