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

db-ui-kit-angular

v0.0.1

Published

Librería de componentes UI para Angular 21 construida con Tailwind CSS 4.

Downloads

402

Readme

db-ui-kit

Librería de componentes UI para Angular 21, con componentes standalone y estilos con Tailwind CSS 4.

Componentes

  • Formularios: db-textbox, db-text-area, db-numberbox, db-selectbox, db-multi-select, db-checkbox, db-radio, db-switch, db-date-picker, db-file-input, db-html-editor
  • Visualización: db-button, db-badge, db-card, db-data-table, db-gallery, db-tooltip, db-loader
  • Feedback y diálogos: db-modal, db-alert-modal, db-confirm-modal, db-toast

Instalación

npm install db-ui-kit-angular

Dependencias peer (si tu proyecto no las tiene ya):

npm install @angular/cdk flatpickr quill material-symbols

Configuración en la aplicación

1. Tailwind CSS 4

Los componentes usan clases de Tailwind. Indica a Tailwind que escanee el paquete en tu hoja de estilos global (ajusta la ruta relativa a node_modules):

@import "tailwindcss";
@source "../node_modules/db-ui-kit-angular";

2. Tema

Los componentes usan los tokens de color del tema (brand, gray, gray-dark, success, error, warning, orange, blue-light, sombras theme-*, fuente outfit), la variante dark (@custom-variant dark (&:is(.dark *));) y las clases db-glass-*. Todo debe estar definido en los estilos globales de la app. Como referencia, usa el src/styles.css de la plantilla angular-starter-template.

3. Iconos y estilos de terceros

En angular.json → styles:

"styles": [
  "src/styles.css",
  "node_modules/flatpickr/dist/flatpickr.css",
  "node_modules/quill/dist/quill.core.css"
]

Y en tu CSS global: @import "material-symbols/outlined.css";

Si usas flatpickr (lo usa db-date-picker), añade "allowedCommonJsDependencies": ["flatpickr"] en las opciones de build.

4. Scroll con modales

Los modales (db-modal, db-confirm-modal, db-alert-modal) bloquean el scroll con body { overflow: hidden }. Para que el contenido no se desplace al abrir o cerrar un modal:

html {
  scrollbar-gutter: stable;
}

Uso

import { Component } from '@angular/core';
import { DbButtonComponent } from 'db-ui-kit-angular';

@Component({
  selector: 'app-example',
  imports: [DbButtonComponent],
  template: `<db-button>Guardar</db-button>`,
})
export class ExampleComponent {}

Revisa public-api.ts para ver todo lo que exporta la librería.

Licencia

MIT