Components

Form Note(React)

Small text that appears below form elements.

Version:14.18.2 View sourceChangelogReport issue
Install:yarn add @thumbtack/thumbprint-react
Import:import { FormNote } from '@thumbtack/thumbprint-react';

Examples

Basic form note

Passwords must be at least 8 characters long.

Form note describing an error

The email address you entered is incorrect.

Props

FormNote

  • children

    Text within the form note.

    Type
    React.ReactNode
    Default
    null
  • hasError

    Renders the form note as red text.

    Type
    boolean
    Default
    false