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

@byteflow-ui/money-input

v1.0.1

Published

Un componente de entrada de moneda para React con formato de derecha a izquierda.

Downloads

133

Readme

💰 Money Input React RTL

El componente de entrada de moneda más elegante, ligero e intuitivo para React.

NPM Version License: MIT

Diseñado específicamente para ofrecer una experiencia de usuario financiera premium mediante una máscara de entrada de derecha a izquierda (RTL).


✨ ¿Por qué elegir Byteflow UI Money Input?

  1. DX Superior: API intuitiva, totalmente tipado y sin dependencias pesadas.
  2. Rendimiento: < 1.5kb minificado. Carga instantánea.
  3. Ultra Personalizable: Control total mediante variables CSS y props de estilo.
  4. Localización: Soporte nativo para diferentes configuraciones regionales (locale).

🚀 Instalación rápida

npm install @byteflow-ui/money-input
# o
yarn add @byteflow-ui/money-input

🛠️ Uso Básico

import { MoneyInput } from '@byteflow-ui/money-input';
import '@byteflow-ui/money-input/dist/index.css';

function PaymentForm() {
  const [total, setTotal] = useState(1500); // Equivale a $15.00

  return (
    <MoneyInput
      label="Monto de Inscripción"
      value={total}
      onChange={setTotal}
      currencySymbol="€"
      locale="de-DE"
    />
  );
}

🎨 Personalización Avanzada (Experience First)

1. Variables CSS (Recomendado)

Puedes cambiar la estética global de los componentes simplemente definiendo estas variables en tu CSS:

:root {
  --bf-money-input-primary-color: #ff5722; /* Color de enfoque */
  --bf-money-input-bg-color: #f9f9f9;      /* Fondo */
  --bf-money-input-border-radius: 4px;     /* Bordes rectos */
}

2. Integración con Tailwind CSS

El componente acepta className para el contenedor y pronto soportará clases directas para el input.

<MoneyInput
  className="my-8 max-w-sm font-mono"
  label="Custom Tailwind Style"
/>

📋 Propiedades (API Reference)

| Prop | Tipo | Defecto | Descripción | | :--- | :--- | :--- | :--- | | value | number | 0 | Valor en centavos (ej: 100 = $1.00) | | currencySymbol | string | $ | Símbolo de la moneda | | locale | string | en-US | Configuración regional para formatos numéricos | | onChange | function | - | Recibe el nuevo valor en centavos | | label | string | - | Etiqueta superior opcional | | disabled | boolean | false | Deshabilitar interacción | | containerStyle | CSSProperties | - | Estilos inline para el contenedor | | inputStyle | CSSProperties | - | Estilos inline para el input |


🏗️ Cómo contribuir

Si quieres extender este componente para tu uso personal o público:

  1. Clona el repositorio.
  2. npm install
  3. npm run dev para ver los cambios en tiempo real en la carpeta example.
  4. npm run build para generar la distribución final.

📄 Licencia

MIT © Realizado con ❤️ para la comunidad de React.