VISUALLIdesign system

Inputs

TextField

Labelled text input or textarea with hint and error text.

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground

Examples

Live previewOpen ↗

Props

export interface TextFieldProps {
  label?: string;
  hint?: string;
  error?: string;
  multiline?: boolean;
  value?: string;
  placeholder?: string;
  onChange?: (e: any) => void
}

Use

import { TextField } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/TextField/README.md