npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arclux/arc-ui-angular

v4.9.2

Published

Angular standalone component wrappers for ARC UI Web Components.

Readme

@arclux/arc-ui-angular

Angular standalone component wrappers for ARC UI web components.

Prism generates this package's code from @arclux/arc-ui. To change a component, edit its source in packages/web-components. Hand edits here are overwritten the next time pnpm generate runs.

Installation

npm install @arclux/arc-ui-angular @arclux/arc-ui lit

Requires @angular/core, @angular/common and @angular/forms >=17.0.0 <22.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');
  }
}

The package has one entry point, so import every component from @arclux/arc-ui-angular.

Events

Bind an arc-* event by its own name, the way you bind a DOM event: (arc-input)="onInput($event)". $event is the CustomEvent, and the payload is on event.detail.

When an event reports a property's new value, the wrapper also has a <property>Change output that emits the bare value (valueChange on Input, checkedChange on Toggle, openChange on Collapsible), so [(value)] and [(checked)] work.

<arc-input label="Email" (arc-input)="onInput($event)"></arc-input>

Forms

Form controls implement ControlValueAccessor, so formControlName and ngModel work on them.

Server-side rendering

To render the components on the server, pass your framework's HTML output through renderDeclarativeShadowDOM from @arclux/arc-ui/ssr. It renders each <arc-*> element into a declarative shadow root and needs the optional peer @lit-labs/ssr. On the client, import @arclux/arc-ui/hydrate before any component. The server rendering guide has the details.

To skip server rendering, render them client-side only.

Theming

Components read design tokens from CSS custom properties. Gradients, glows and focus rings are built from the accent tokens, so overriding those changes them too. See the theming guide:

:root {
  --accent-primary: rgb(77, 126, 247);
  --accent-primary-rgb: 77, 126, 247;
}

Links