Skip to content
tcpsystemsui

Theme

Colour scheme
Accent
Density
Radius
Esc

NumberInput

A numeric field with decrement and increment buttons and optional unit.

beta

API

Import
import NumberInput from '@tcpsystems/ui/foundation/NumberInput';
PropTypeDefault
kind?'mono'none
describedby?stringnone
invalid?'true'none
value?native$bindable()
min?number | stringnone
max?number | stringnone
step?number | string1
unit?stringnone
decrementLabel?string'Decrease'
incrementLabel?string'Increase'
disabled?nativenone
readonly?nativenone
HookKind
.tcp-numberRoot class
data-dirData attribute
data-kindData attribute