Develop ultra fast with Prismane 🎉

TextField API

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

Import

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

Props

TextField extends Field component's props.

NameTypeDescriptionDefault
prefixstringThe prefix of the text field.-
suffixstringThe suffix of the text field.-

CSS

TextField extends Field component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTextField-rootThe container of the text field component.
label.PrismaneTextField-labelThe label container of the text field component.
error.PrismaneTextField-errorThe error container of the text field component.