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

@aurea-design-system/components

v0.3.0

Published

Aurea design system for Angular 21 — accessible components and semantic tokens.

Readme

@aurea-design-system/components

Aurea — design system for Angular 21: accessible components, semantic tokens, and signal-friendly forms.

Angular WCAG npm License

Monorepo project components (this folder).


Requirements

  • Angular 21.2+ (@angular/core, @angular/common, @angular/forms)
  • Node 20.19+ (for the consuming app toolchain)

Install

bun add @aurea-design-system/components
npm install @aurea-design-system/components

Quick start

1. Design tokens (global styles)

In angular.jsonstyles, or in src/styles.scss:

@import '@aurea-design-system/components/styles/au-tokens.css';

Optional (form/listbox overlays):

@import '@aurea-design-system/components/styles/au-field-error.css';
@import '@aurea-design-system/components/styles/au-field-listbox.css';

2. Dark mode (optional)

<html data-au-theme="dark"></html>

Or use the auTheme directive from the same package.

3. Components

import { AuButton, AuCheckbox, AuDivider, AuTooltip } from '@aurea-design-system/components';

@Component({
  imports: [AuButton, AuCheckbox, AuDivider, AuTooltip],
  template: `
    <au-button variant="primary">Save</au-button>
    <au-button
      variant="outline"
      auTooltip="Extra help"
      >?</au-button
    >
    <au-divider />
    <au-checkbox label="Remember me" />
  `,
})
export class Example {}

Signal forms (Angular 21+)

Field controls implement FormValueControl and bind with [formField] from @angular/forms/signals. Put form() and the model signal() in your page or feature component (injection context). Wrap the control in au-form-field for label, hint, and error chrome — do not duplicate label on the inner control.

Import FormField next to the control in the same @Component.imports array.

Example: email with required + email

import { Component, signal } from '@angular/core';
import { FormField, email, form, required } from '@angular/forms/signals';
import { AuFormField, AuInputText } from '@aurea-design-system/components';

@Component({
  selector: 'app-profile-email',
  imports: [AuFormField, AuInputText, FormField],
  template: `
    <au-form-field
      label="Email"
      hint="We only use this for account notices."
      [required]="true"
    >
      <au-input-text
        [formField]="fieldRoot.email"
        type="email"
        placeholder="[email protected]"
      />
    </au-form-field>
  `,
})
export class ProfileEmailComponent {
  private readonly data = signal({ email: '' as string });

  readonly fieldRoot = form(this.data, (schema) => {
    required(schema.email, { message: 'Email is required' });
    email(schema.email, { message: 'Enter a valid email address' });
  });
}

Controls with [formField]

| Component | Value type | Notes | | ------------------------------ | ---------------- | --------------------- | | AuInputText, AuTextarea | string \| null | Empty field → null | | AuInputNumber, AuInputDate | string \| null | Same empty semantics | | AuSelect, AuAutocomplete | string \| null | Option value | | AuCheckbox, AuSwitch | boolean | | | AuRadioGroup | string \| null | Selected option value |

Manual validation (no form())

Use [(value)] / [(checked)] and set errorMessage + invalid on au-form-field. Storybook demos use this pattern — see Aurea/InputTextWith error and Aurea/Form field.


Components

| Export | Selector / API | Notes | | ---------------- | ------------------- | ---------------------------------------------- | | AuButton | <au-button> | Variants, loading, focus ring | | AuInputText | <au-input-text> | [formField] or [(value)] + au-form-field | | AuTextarea | <au-textarea> | Same as input-text | | AuFormField | <au-form-field> | Label / hint / error wrapper | | AuCheckbox | <au-checkbox> | | | AuSelect | <au-select> | Portaled listbox | | AuAutocomplete | <au-autocomplete> | | | AuSwitch | <au-switch> | | | AuRadioGroup | <au-radio-group> | | | AuInputNumber | <au-input-number> | | | AuInputDate | <au-input-date> | | | AuDialog | <au-dialog> | Native <dialog> | | AuCard | <au-card> | AuCardFooter directive | | AuTabs | <au-tabs> | AuTab, AuTabPanel | | AuChip | <au-chip> | Removable / selectable | | AuSnackbar | <au-snackbar> | | | AuDivider | <au-divider> | Horizontal / vertical | | AuTooltip | [auTooltip] | Directive on the trigger | | AuTheme | [auTheme] | light / dark / system |


License

MIT