KodeKarsa UI

Indonesia

Rupiah Input

A Rupiah amount with thousand dots as it's typed, quick amounts, and the amount in words (terbilang). The form gets the plain number.

src/components/ui/rupiah-input.tsxBehavior from @ui-sdk/react/input

Balance top up

Memuat

Import

tsx
import { RupiahInput } from "@/components/ui/rupiah-input";

Guidelines

  • Rupiah without cents: don't show ,00 unless a tax document asks for it.
  • Terbilang helps on receipts and large transfers, where one wrong zero costs the most.