Skip to main content

FormText

Example

import { components } from "replugged";
const { FormText } = components;

<FormText.DEFAULT>This is an example</FormText.DEFAULT>;

Subcomponents

ComponentDescription
FormText.DEFAULTType default
FormText.INPUT_PLACEHOLDERType placeholder
FormText.DESCRIPTIONType description
FormText.LABEL_BOLDType labelBold
FormText.LABEL_SELECTEDType labelSelected
FormText.LABEL_DESCRIPTORType labelDescriptor
FormText.ERRORType error
FormText.SUCCESSType success

Props

NameTypeDefaultDescription
classNamestringComponent class name
disabledbooleanfalseWhether the text is disabled
selectablebooleanfalseWhether the text is selectable
styleCSSPropertiesComponent style
typestringdefaultDefine type of text