Skip to main content

Material

The following examples demonstrates the Text Boxes in action.

warning

In documentation apprence of components may not be in correct way. To view the component in exact design please view the demo app.

Usecase Examples

Usecase Examples with material style.

Caution

For material style label it is required.

Colors

Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label
Label

Border Colors

Label
Label
Label
Label
Label
Label
Label
Label

Active Border Colors

Label
Label
Label
Label
Label
Label
Label
Label

Border Width

Label
Label
Label
Label
Label
Label

Border Radius

Label
Label
Label
Label
Label
Label

Background Color

Label
Label
Label
Label
Label
Label
Label
Label

Active Background Color

Label
Label
Label
Label
Label
Label
Label
Label

Type

Label
Label

Sizes

Label
Label
Label
Label

Readonly

Label
Label

Disabled

Label
Label

Label

Label
Custom Element Label

Label Style

Label
Label

Helper Text

Label
Helper text

Max Length

Label
0 / 15

Prefix

Label
Label

Prefix Style

Label
Label

Surfix

Label
Label

Surfix Style

Label
Label

Adornments Separator

Label
Label

Playground

Live Editor
//Play with props to see live changes;

render(<TextBox
    prefixSeparator
    placeholder='Play with props to see live changes'
    color='primary'
    borderColor='crimson'
    borderWidth='thick'
    radius='full'
    size='large'
    prefix="star"
  />);
Result
Loading...