Theme

npm_versionnpm Paragon package page

A component for all user input. It is responsible for rendering select, textarea, and inputs of any type with the appropriate bootstrap class name.

Extra props supplied to Input will be passed through to the html node.

Text

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

Select

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

Textarea

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

Date

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

File

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

Range

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

Props API#

Input Props API
  • type enum'textarea' | 'select' | 'checkbox' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' Required

    specifies the type of component. One of select, textarea, or any valid type for an html input tag.

  • className string

    specifies the className in addition to a bootstrap class name.

  • options shape {
    label: string | number,
    value: string | number,
    disabled: bool,
    group: shape {
    label: string | number,
    value: string | number,
    disabled: bool,
    }
    []
    ,
    }
    []

    should be used to specify the options of an Input of type select

    Default[]

Usage Insights#

Input

Project NameParagon VersionInstance Count
frontend-app-account22.9.01
frontend-app-learner-portal-enterprise21.13.11
frontend-app-learner-portal-programs21.13.11
frontend-app-learning22.8.11
frontend-app-support-tools21.13.117
catalog-search21.13.17
frontend-learner-portal-base12.2.01
prospectus20.46.21