Theme

npm_versionnpm Paragon package page

Alias: Form.Text

Provide help text or validation feedback to the user about about a form control. Form.Control.Feedback uses a FormGroupContext (provided by Form.Group) to ensure that it has a unique id and that that id is added to a related Form.Control via aria-describedby according to WCAG guidelines.

Note: Form.Control.Feedback is aliased as Form.Text for backward compatibility for those using the React Bootstrap component.

Basic usage

Any Paragon component or export may be added to the code example.

Feedback Types

Any Paragon component or export may be added to the code example.

Theme Variables#

CSS VariableComputed Value










Props API#

FormControlFeedback Props API
  • children node Required

    Specifies contents of the component.

  • className string

    Specifies class name to append to the base element.

  • hasIcon bool

    Specifies whether to show an icon next to the text.

    Defaulttrue
  • type enum'default' | 'valid' | 'invalid' | 'warning' | 'criteria-empty' | 'criteria-valid' | 'criteria-invalid'

    Specifies feedback type, this affects styling.

  • icon node

    Specifies icon to show, will only be shown if hasIcon prop is set to true.

  • muted bool

    Specifies whether to show feedback with muted styling.

    Defaultfalse

Usage Insights#

FormControlFeedback

Project NameParagon VersionInstance Count
frontend-app-authn22.11.21
frontend-app-learner-dashboard22.9.01
frontend-app-ora-grading21.11.31