Currency Input
Formatted currency input with prefix/suffix symbol, sizes, display mode, and validation states.
Prefix Symbol
Preview
$
Suffix Symbol
Preview
EUR
Sizes
Preview
$
$
$
Text Alignment
Preview
$
Display Mode
Preview
$
Validation States
Preview
$
Amount must be positive
$
Looks good!
| Class | Description |
|---|---|
.currency-input | Container (inline-flex) |
.currency-input-symbol | Currency symbol element |
.currency-input-symbol-prefix | Left-aligned symbol |
.currency-input-symbol-suffix | Right-aligned symbol |
.currency-input-prefix | Wrapper modifier for prefix padding |
.currency-input-suffix | Wrapper modifier for suffix padding |
.currency-input-sm | Small size |
.currency-input-lg | Large size |
.currency-input-align-left | Left-align text |
.currency-input-align-center | Center-align text |
.currency-input-align-right | Right-align text |
.currency-input-display | Large read-only display mode |
.currency-input-error | Error state |
.currency-input-success | Success state |
.currency-input-field | Field wrapper (label + helper) |
.currency-input-label | Field label |
.currency-input-helper | Helper text |
.currency-input-helper-error | Error helper text |
.currency-input.glass | Glass morphism variant |