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

@ng-solid/design-system

v22.4.0

Published

Arvisfy, the token-driven Angular design system for ng-solid.

Readme

@ng-solid/design-system

Arvisfy is the default ng-solid design-system preset. It combines Angular standalone components, Tailwind CSS composition from SCSS, BEM ns-* class contracts and a strict three-tier token architecture.

Installation

pnpm add @ng-solid/design-system @ng-solid/icons
pnpm add -D tailwindcss @tailwindcss/postcss

Tailwind is optional unless the application consumes the semantic utility bridge. Configure @tailwindcss/postcss in the application's PostCSS setup.

Import the Tailwind semantic bridge once in the application stylesheet:

@import '@ng-solid/design-system/themes/tailwind.css';

Arvisfy assumes box-sizing: border-box throughout, and that bridge carries the rule for it. See the packaged themes/README.md for why it's copied literally and what that means if you don't import it.

Register Arvisfy in the Angular application configuration:

import { Arvisfy, provideNsTheme } from '@ng-solid/design-system';

export const appConfig = {
  providers: [provideNsTheme({ preset: Arvisfy, colorScheme: 'system' })]
};

system follows prefers-color-scheme. Explicit light and dark choices are persisted by NsThemeService and applied without reloading:

import { inject } from '@angular/core';
import { NsThemeService } from '@ng-solid/design-system';

const theme = inject(NsThemeService);
theme.setScheme('dark');

Extend the preset

Use defineNsPreset so custom presets retain the primitive → semantic → component dependency contract:

import { defineNsPreset, Arvisfy } from '@ng-solid/design-system';

export const ProductTheme = defineNsPreset(Arvisfy, {
  name: 'product',
  primitive: {
    color: {
      brand: { 500: '#0052ff' }
    }
  },
  semantic: {
    colorScheme: {
      light: { color: { primary: '{primitive.color.brand.500}' } },
      dark: { color: { primary: '{primitive.color.brand.500}' } }
    }
  },
  components: {
    button: { borderColor: '{semantic.color.primary}' }
  }
});

See the packaged themes/README.md for the Arvisfy design principles and token rules.

Components

Components are imported directly from the package:

import {
  NsButtonComponent,
  NsDatePickerComponent,
  NsInputComponent,
  NsInputGroupAddonComponent,
  NsInputGroupComponent,
  NsModalComponent
} from '@ng-solid/design-system';
<ns-button variant="primary">Guardar cambios</ns-button>

<ns-input-group>
  <ns-input-group-addon>$</ns-input-group-addon>
  <ns-input formControlName="amount" ariaLabel="Amount" />
  <ns-input-group-addon>USD</ns-input-group-addon>
</ns-input-group>

ns-input-group is only a layout wrapper. It has no label or wrap inputs; put labels and form directives on the projected ns-input control.

Application templates should style their own layout with BEM ns-* classes. Library component templates never expose Tailwind utilities directly.

ns-button uses projected content and the semantic primary, secondary, tertiary, success, and danger variants; color, label, and the former theme input are not part of its API. NsModalComponent supports projected modal content or a typed contentComponent supplied through NsModalService; nsTemplate no longer registers templates with a modal reference.

The package's primary component API is:

  • NsAccordionComponent, NsAlertComponent, NsAvatarComponent, NsBadgeComponent, NsBreadcrumbsComponent, NsButtonComponent, NsButtonGroupComponent, NsCardComponent, NsCheckboxComponent, NsChipComponent, NsDropdownComponent.
  • NsDatePickerComponent, NsDateRangePickerComponent, NsDescriptionComponent, NsDrawerComponent, NsInputComponent, NsInputGroupComponent, NsInputCodeComponent, NsLinkComponent, NsMeterComponent, NsModalComponent, NsInputNumberComponent, NsPaginationComponent, NsPopoverComponent, NsProgressBarComponent.
  • NsRadioComponent, NsRadioGroupComponent, NsInputSearchComponent, NsDividerComponent, NsSkeletonComponent, NsSliderComponent, NsSurfaceComponent, NsSwitchComponent, NsTabsComponent, NsTagGroupComponent, NsTextAreaComponent, NsToastComponent, and NsTooltipComponent.

Composition helpers such as NsAccordionItemComponent, NsBreadcrumbItemComponent, NsCardHeaderComponent, NsCardBodyComponent, NsCardFooterComponent, NsDropdownItemDirective, NsTabComponent, NsTagComponent, and NsTooltipDirective are exported from the same entry point. The pre-refactor Bootstrap-based dropdown API and its legacy toast contracts are not exported.