Step 01
Install the package
Add zyra-ng-ui and its peer dependencies to your Angular workspace. Requires Angular 21+ and @angular/forms.
npm install zyra-ng-ui/ Docs
Get zyra-ng-ui running in an Angular 21 workspace in four steps — package install, global styles, provider registration, and your first component.
Step 01
Add zyra-ng-ui and its peer dependencies to your Angular workspace. Requires Angular 21+ and @angular/forms.
npm install zyra-ng-uiStep 02
Add one line to your global stylesheet. This loads all design tokens, theme variables, animations, and base resets.
// styles.scss (or styles.css)
@use 'zyra-ng-ui';Step 03
Enable the token-driven theme service once during app bootstrap.
// app.config.ts
import { provideZyra } from 'zyra-ng-ui';
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideZyra({ theme: 'light' }),
],
};Step 04
Drop any component directly into your standalone imports array — tree-shake the rest.
import { ZyraButton, ZyraCard } from 'zyra-ng-ui';
@Component({
standalone: true,
imports: [ZyraButton, ZyraCard],
template: `
<zyra-card padding="lg">
<zyra-button variant="primary">Get started</zyra-button>
</zyra-card>
`,
})
export class MyComponent {}Browse every component with live examples and copy-paste code.