UI

Form inputs

Look up the money, date, tag, translated and Markdown inputs that go inside a form field.

These inputs cover values Nuxt UI has no control for, such as money or translated text. This page is for anyone who builds forms. Set up the module first: Overview.

They are auto-imported by name and bind with v-model.

ComponentModelPropsPurpose
CurrencyInputstring, a currency code (default 'EUR')currencies?: Currency[]A currency select; by default every currency the runtime knows.
MoneyInput{ currency, amount }, default { currency: 'EUR', amount: 0 }currencies?: Currency[]An amount and a currency. amount is in minor units (cents).
DateInputDate | string | number | undefinedtype?: 'date' | 'string' (default 'date')A date picker. It emits a Date, or an ISO string with type="string".
IntervalInputnumber of seconds (default 86400)noneAn amount with a minutes, hours or days unit. At least 60 seconds.
TagInputstring[]placeholder?, searchPlaceholder?, multiple? (default true)Create and pick tags.
UrlInputstringnoneA URL field that requires http:// or https://. Emits success(url) when valid.
IconInputstringformItem?An Iconify icon picker.
SwitchTogglebooleannoneA switch.
MarkdownTextareastringplaceholder?, rows?, required?, disabled?, preview?, mdc?, mdcData?A textarea with an optional Write and Preview toggle. mdc renders the preview with MDC.
TranslatedInputTranslated | null | undefinedplaceholder?, multiline?, rows?, preview? (default true), mdc?, mdcData?, required?, disabled?One string, or one row per configured locale.
MonacoCodeEditorstringlanguage? ('typescript'), height? ('160px'), fullscreen? (true)A Monaco code editor. Needs the nuxt-monaco-editor module.

MoneyInput. v-model:amount binds the amount in major units, and v-model:currency binds the code.

mdcData. It fills {{ name }} variables in an MDC preview.

Next steps

Copyright © 2026