@arclux/arc-ui-angular
v2.1.0
Published
Angular standalone component wrappers for ARC UI Web Components.
Downloads
3,336
Maintainers
Readme
@arclux/arc-ui-angular
Angular standalone component wrappers for ARC UI web components.
Auto-generated -- this package is produced by Prism from the canonical source in
@arclux/arc-ui. Do not edit by hand.
Installation
npm install @arclux/arc-ui-angular @arclux/arc-uiRequires @angular/core >= 17.0.0.
Usage
import { Component } from '@angular/core';
import { Button, Card, Input } from '@arclux/arc-ui-angular';
@Component({
standalone: true,
imports: [Button, Card, Input],
template: `
<arc-button variant="primary" (click)="onClick()">Get Started</arc-button>
<arc-card>
<h3>Card Title</h3>
<p>Card content.</p>
</arc-card>
<arc-input label="Email" type="email" placeholder="[email protected]"></arc-input>
`,
})
export class AppComponent {
onClick() {
console.log('clicked');
}
}Components are organized by category and can be imported from subpaths:
import { Button } from '@arclux/arc-ui-angular/input';
import { Card } from '@arclux/arc-ui-angular/content';
import { AppShell } from '@arclux/arc-ui-angular/layout';Documentation
Full component docs and interactive examples: arcui.dev
