Develop ultra fast with Prismane 🎉

NumberField API

Learn about the NumberField component's props and CSS classes.

Import

import { NumberFieldProps } from "@prismane/core";

Props

NumberField extends Field component's props.

NameTypeDescriptionDefault
minnumberThe min value of the number field.-
maxnumberThe max value of the number field.-

CSS

NumberField extends Field component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneNumberField-rootThe container of the number field component.
label.PrismaneNumberField-labelThe label container of the field component.
error.PrismaneNumberField-errorThe error container of the field component.