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

@malva-ui/core

v0.2.0

Published

Angular UI component library — 68 accessible, signal-based components with light/dark theming, density levels and i18n.

Downloads

296

Readme

@malva-ui/core

A production-grade Angular component library — 68 components, light/dark theming, five density levels, 14 locales, and WCAG 2.1 AA accessibility verified with axe.

Every component is standalone, OnPush, and signal-based throughout, styled with BEM against --mlv-* design tokens you can override.

<button mlvButton>Save</button>

Install

Run the Angular installer from the root of a consumer workspace:

ng add @malva-ui/core

The installer:

  1. Selects the only Angular application automatically, or accepts --project <name> in a multi-application workspace.
  2. Adds the matching @malva-ui/cdk and @malva-ui/i18n packages.
  3. Adds the packaged Malva UI token, reset, and animation stylesheet.
  4. Configures provideDefaultTheme() and provideMlvDensity() in the root application providers.

It asks for the initial light/dark theme, component density, global-style setup, and provider bootstrapping. The command is idempotent and can be run again without duplicating configuration.

Non-interactive installation

ng add @malva-ui/core \
  --project my-app \
  --theme dark \
  --density compact \
  --include-styles \
  --configure-providers \
  --no-interactive

| Option | Values | Default | | -------------------- | ------------------------------------------------------- | ------------- | | project | Angular application name | sole app | | theme | light, dark | light | | density | tight, compact, comfortable, spacious, airy | comfortable | | includeStyles | Add the packaged global stylesheet | true | | configureProviders | Add theme and density root providers | true | | themeStorageKey | Browser storage key for the persisted theme | mlv-theme | | skipInstall | Do not run the package manager after dependency changes | false |

If styles or providers are managed elsewhere, disable those steps with --no-include-styles and --no-configure-providers.

Use a component

Each component has its own entry point, so you only bundle what you import:

import { MlvButton } from '@malva-ui/core/button';
import { MlvDialogService } from '@malva-ui/core/dialog';
import { MlvInput } from '@malva-ui/core/input';
<button mlvButton>Save</button>

Components

Forms — button · input · textarea · select · combobox · autocomplete · checkbox · radio · switch · slider · rating · number-input · pin-input · file-upload · color-picker · tokenizer · search-field · segmented · form · form-utils

Dates — calendar · day-picker · date-range-picker · time-picker

Data — data-table · tree · pagination · filter · list · timeline

Overlays — dialog · drawer · popup · menu · tooltip · toast · notification · dropdown

Navigation — sidebar · tabs · breadcrumb · stepper · bottom-nav · action-bar · link · page

Layout — layout · card · tile · accordion · expand · split-pane · divider · toolbar · scrollbar

Display — avatar · avatar-group · badge · chip · alert · progress · loader · skeleton · empty-state · status-indicator · kbd · title · chat · copy-to-clipboard

Theming

Components read --mlv-* custom properties, so a theme is a stylesheet override — no build step, no SCSS fork:

:root {
  --mlv-background-accent-1: #6d28d9;
  --mlv-radius-button: 0.75rem;
}

Light and dark ship out of the box via provideDefaultTheme(); density (tight → airy) is switched per-tree with mlvDensity or globally with provideMlvDensity().

CSS-variable namespacing is not supported. Do not enable Angular's provideCssVarNamespacing() (22.1+) in an application that uses Malva UI. It renames every custom property inside component styles (var(--mlv-x) → var(--<ns>_mlv-x)) but not the global token sheet, your :root overrides, or the custom-property names components set with style.setProperty(), so every component reads names nothing declares and renders unstyled.

Zoneless and SSR

Every component is OnPush and signal-based, so the library runs under provideZonelessChangeDetection() with zone.js removed:

bootstrapApplication(App, {
  providers: [provideZonelessChangeDetection(), provideDefaultTheme()],
});

Components are also safe to server-render — measurement, observers and document-level listeners stay behind platform guards, and overlays are never constructed during SSR. Both are covered by tests, not just intent.

Peer dependencies

@angular/aria, @angular/cdk, @angular/common, @angular/core, @angular/forms, @angular/router, @lucide/angular, rxjs, plus the companion packages @malva-ui/cdk and @malva-ui/i18n (both added by ng add).

All required. @angular/router is one every ng new application already has — mlv-breadcrumb, mlv-list-item-link, mlv-sidebar-item, mlv-bottom-nav, mlv-page-header, a[mlvSegmentedItem], router-driven tabs and the routable dialog / drawer routes all reach for it, so it is not optional (npm neither installs nor warns about optional peers).

Related packages

Versioning and support

Semver contract, what counts as public API, the deprecation window and the support window per major: VERSIONING.md (the repository is private while the library is pre-1.0, so the link needs repository access — ask us for the policy if it 404s for you).

License

MIT