Develop ultra fast with Prismane 🎉

PinField API

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

Import

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

Props

PinField extends Field component's props.

NameTypeDescriptionDefault
lengthnumberThe length of the pin field.4
maskedbooleanToggles the masked state of the input.false

CSS

PinField extends Field component's CSS classes.

RuleGlobal ClassDescription
root.PrismanePinField-rootThe container of the pin field component.
label.PrismanePinField-labelThe container of the pin field label component.
error.PrismanePinField-errorThe container of the pin field error component.