InputNumber: add leading and trailing slots
Author: Dominic-MarcelinoCreated Jun 10, 2026Updated Sep 21, 2026
Labelstriage
Package
v4.x
Description
The InputNumber allows format-options via Intl.NumberFormat(), which works fine for standardized units.
Hover, if we need to append a custom value (e.g a unit like px) this can't be done through formatting. Therefore it'd be useful to provide leading and trailing slots like in other components, or alternatively add an prefix / suffix prop.
Additional context
No response
Source: nuxt/ui