No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Inputs

  • Text Input

  • Number Input
NameDescriptionDefault
className
string
-
placeholder
string
-
value
string
-
onChange*
any
-
variant
string
text
defaultValue
number
-
min
number
-
max
number
-
accept
string
-
alt
string
-
autoComplete
string
-
autoFocus
boolean
-
capture
string | boolean
-
checked
boolean
-
crossOrigin
string
-
disabled
boolean
-
form
string
-
formAction
string
-
formEncType
string
-
formMethod
string
-
formNoValidate
boolean
-
formTarget
string
-
height
string | number
-
list
string
-
maxLength
number
-
minLength
number
-
multiple
boolean
-
name
string
-
pattern
string
-
readOnly
boolean
-
required
boolean
-
size
number
-
src
string
-
step
string | number
-
type
string
-
width
string | number
-
defaultChecked
boolean
-
suppressContentEditableWarning
boolean
-
suppressHydrationWarning
boolean
-
accessKey
string
-
contentEditable
Booleanish | "inherit"
-
contextMenu
string
-
dir
string
-
draggable
Booleanish
-
hidden
boolean
-
id
string
-
lang
string
-
slot
string
-
spellCheck
Booleanish
-
style
CSSProperties
-
tabIndex
number
-
title
string
-
translate
"yes" | "no"
-
radioGroup
string
-
role
string
-
about
string
-
datatype
string
-
inlist
any
-
prefix
string
-
property
string
-
resource
string
-
typeof
string
-
vocab
string
-
autoCapitalize
string
-
autoCorrect
string
-
autoSave
string
-
color
string
-
itemProp
string
-
itemScope
boolean
-
itemType
string
-
itemID
string
-
itemRef
string
-
results
number
-
security
string
-
unselectable
"on" | "off"
-
inputMode
Hints at the type of data that might be entered by the user while editing the element or its contents
"none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search"
-
is
Specify that a standard HTML element should behave like a defined custom built-in element
string
-
aria-activedescendant
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
string
-
aria-atomic
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
boolean | "true" | "false"
-
aria-autocomplete

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.

"list" | "none" | "inline" | "both"
-
aria-busy
Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
boolean | "true" | "false"
-
aria-checked
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
boolean | "true" | "false" | "mixed"
-
aria-colcount
Defines the total number of columns in a table, grid, or treegrid.
number
-
aria-colindex
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
number
-
aria-colspan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
number
-
aria-controls
Identifies the element (or elements) whose contents or presence are controlled by the current element.
string
-
aria-current
Indicates the element that represents the current item within a container or set of related elements.
boolean | "step" | "true" | "false" | "page" | "location" | "date" | "time"
-
aria-describedby
Identifies the element (or elements) that describes the object.
string
-
aria-details
Identifies the element that provides a detailed, extended description for the object.
string
-
aria-disabled
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
boolean | "true" | "false"
-
aria-dropeffect
Indicates what functions can be performed when a dragged object is released on the drop target.
"none" | "copy" | "execute" | "link" | "move" | "popup"
-
aria-errormessage
Identifies the element that provides an error message for the object.
string
-
aria-expanded
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
boolean | "true" | "false"
-
aria-flowto

Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.

string
-
aria-grabbed
Indicates an element's "grabbed" state in a drag-and-drop operation.
boolean | "true" | "false"
-
aria-haspopup
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
boolean | "true" | "false" | "menu" | "listbox" | "tree" | "grid" | "dialog"
-
aria-hidden
Indicates whether the element is exposed to an accessibility API.
boolean | "true" | "false"
-
aria-invalid
Indicates the entered value does not conform to the format expected by the application.
boolean | "true" | "false" | "grammar" | "spelling"
-
aria-keyshortcuts
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
string
-
aria-label
Defines a string value that labels the current element.
string
-
aria-labelledby
Identifies the element (or elements) that labels the current element.
string
-
aria-level
Defines the hierarchical level of an element within a structure.
number
-
aria-live
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
"off" | "assertive" | "polite"
-
aria-modal
Indicates whether an element is modal when displayed.
boolean | "true" | "false"
-
aria-multiline
Indicates whether a text box accepts multiple lines of input or only a single line.
boolean | "true" | "false"
-
aria-multiselectable
Indicates that the user may select more than one item from the current selectable descendants.
boolean | "true" | "false"
-
aria-orientation
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
"horizontal" | "vertical"
-
aria-owns

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.

string
-
aria-placeholder

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.

string
-
aria-posinset
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
number
-
aria-pressed
Indicates the current "pressed" state of toggle buttons.
boolean | "true" | "false" | "mixed"
-
aria-readonly
Indicates that the element is not editable, but is otherwise operable.
boolean | "true" | "false"
-
aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
"text" | "additions" | "additions text" | "all" | "removals"
-
aria-required
Indicates that user input is required on the element before a form may be submitted.
boolean | "true" | "false"
-
aria-roledescription
Defines a human-readable, author-localized description for the role of an element.
string
-
aria-rowcount
Defines the total number of rows in a table, grid, or treegrid.
number
-
aria-rowindex
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
number
-
aria-rowspan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
number
-
aria-selected
Indicates the current "selected" state of various widgets.
boolean | "true" | "false"
-
aria-setsize
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
number
-
aria-sort
Indicates if items in a table or grid are sorted in ascending or descending order.
"none" | "ascending" | "descending" | "other"
-
aria-valuemax
Defines the maximum allowed value for a range widget.
number
-
aria-valuemin
Defines the minimum allowed value for a range widget.
number
-
aria-valuenow
Defines the current value for a range widget.
number
-
aria-valuetext
Defines the human readable text alternative of aria-valuenow for a range widget.
string
-
dangerouslySetInnerHTML
{ __html: string; }
-
onCopy
ClipboardEventHandler<HTMLInputElement>
-
onCopyCapture
ClipboardEventHandler<HTMLInputElement>
-
onCut
ClipboardEventHandler<HTMLInputElement>
-
onCutCapture
ClipboardEventHandler<HTMLInputElement>
-
onPaste
ClipboardEventHandler<HTMLInputElement>
-
onPasteCapture
ClipboardEventHandler<HTMLInputElement>
-
onCompositionEnd
CompositionEventHandler<HTMLInputElement>
-
onCompositionEndCapture
CompositionEventHandler<HTMLInputElement>
-
onCompositionStart
CompositionEventHandler<HTMLInputElement>
-
onCompositionStartCapture
CompositionEventHandler<HTMLInputElement>
-
onCompositionUpdate
CompositionEventHandler<HTMLInputElement>
-
onCompositionUpdateCapture
CompositionEventHandler<HTMLInputElement>
-
onFocus
FocusEventHandler<HTMLInputElement>
-
onFocusCapture
FocusEventHandler<HTMLInputElement>
-
onBlur
FocusEventHandler<HTMLInputElement>
-
onBlurCapture
FocusEventHandler<HTMLInputElement>
-
onChangeCapture
FormEventHandler<HTMLInputElement>
-
onBeforeInput
FormEventHandler<HTMLInputElement>
-
onBeforeInputCapture
FormEventHandler<HTMLInputElement>
-
onInput
FormEventHandler<HTMLInputElement>
-
onInputCapture
FormEventHandler<HTMLInputElement>
-
onReset
FormEventHandler<HTMLInputElement>
-
onResetCapture
FormEventHandler<HTMLInputElement>
-
onSubmit
FormEventHandler<HTMLInputElement>
-
onSubmitCapture
FormEventHandler<HTMLInputElement>
-
onInvalid
FormEventHandler<HTMLInputElement>
-
onInvalidCapture
FormEventHandler<HTMLInputElement>
-
onLoad
ReactEventHandler<HTMLInputElement>
-
onLoadCapture
ReactEventHandler<HTMLInputElement>
-
onError
ReactEventHandler<HTMLInputElement>
-
onErrorCapture
ReactEventHandler<HTMLInputElement>
-
onKeyDown
KeyboardEventHandler<HTMLInputElement>
-
onKeyDownCapture
KeyboardEventHandler<HTMLInputElement>
-
onKeyPress
KeyboardEventHandler<HTMLInputElement>
-
onKeyPressCapture
KeyboardEventHandler<HTMLInputElement>
-
onKeyUp
KeyboardEventHandler<HTMLInputElement>
-
onKeyUpCapture
KeyboardEventHandler<HTMLInputElement>
-
onAbort
ReactEventHandler<HTMLInputElement>
-
onAbortCapture
ReactEventHandler<HTMLInputElement>
-
onCanPlay
ReactEventHandler<HTMLInputElement>
-
onCanPlayCapture
ReactEventHandler<HTMLInputElement>
-
onCanPlayThrough
ReactEventHandler<HTMLInputElement>
-
onCanPlayThroughCapture
ReactEventHandler<HTMLInputElement>
-
onDurationChange
ReactEventHandler<HTMLInputElement>
-
onDurationChangeCapture
ReactEventHandler<HTMLInputElement>
-
onEmptied
ReactEventHandler<HTMLInputElement>
-
onEmptiedCapture
ReactEventHandler<HTMLInputElement>
-
onEncrypted
ReactEventHandler<HTMLInputElement>
-
onEncryptedCapture
ReactEventHandler<HTMLInputElement>
-
onEnded
ReactEventHandler<HTMLInputElement>
-
onEndedCapture
ReactEventHandler<HTMLInputElement>
-
onLoadedData
ReactEventHandler<HTMLInputElement>
-
onLoadedDataCapture
ReactEventHandler<HTMLInputElement>
-
onLoadedMetadata
ReactEventHandler<HTMLInputElement>
-
onLoadedMetadataCapture
ReactEventHandler<HTMLInputElement>
-
onLoadStart
ReactEventHandler<HTMLInputElement>
-
onLoadStartCapture
ReactEventHandler<HTMLInputElement>
-
onPause
ReactEventHandler<HTMLInputElement>
-
onPauseCapture
ReactEventHandler<HTMLInputElement>
-
onPlay
ReactEventHandler<HTMLInputElement>
-
onPlayCapture
ReactEventHandler<HTMLInputElement>
-
onPlaying
ReactEventHandler<HTMLInputElement>
-
onPlayingCapture
ReactEventHandler<HTMLInputElement>
-
onProgress
ReactEventHandler<HTMLInputElement>
-
onProgressCapture
ReactEventHandler<HTMLInputElement>
-
onRateChange
ReactEventHandler<HTMLInputElement>
-
onRateChangeCapture
ReactEventHandler<HTMLInputElement>
-
onSeeked
ReactEventHandler<HTMLInputElement>
-
onSeekedCapture
ReactEventHandler<HTMLInputElement>
-
onSeeking
ReactEventHandler<HTMLInputElement>
-
onSeekingCapture
ReactEventHandler<HTMLInputElement>
-
onStalled
ReactEventHandler<HTMLInputElement>
-
onStalledCapture
ReactEventHandler<HTMLInputElement>
-
onSuspend
ReactEventHandler<HTMLInputElement>
-
onSuspendCapture
ReactEventHandler<HTMLInputElement>
-
onTimeUpdate
ReactEventHandler<HTMLInputElement>
-
onTimeUpdateCapture
ReactEventHandler<HTMLInputElement>
-
onVolumeChange
ReactEventHandler<HTMLInputElement>
-
onVolumeChangeCapture
ReactEventHandler<HTMLInputElement>
-
onWaiting
ReactEventHandler<HTMLInputElement>
-
onWaitingCapture
ReactEventHandler<HTMLInputElement>
-
onAuxClick
MouseEventHandler<HTMLInputElement>
-
onAuxClickCapture
MouseEventHandler<HTMLInputElement>
-
onClick
MouseEventHandler<HTMLInputElement>
-
onClickCapture
MouseEventHandler<HTMLInputElement>
-
onContextMenu
MouseEventHandler<HTMLInputElement>
-
onContextMenuCapture
MouseEventHandler<HTMLInputElement>
-
onDoubleClick
MouseEventHandler<HTMLInputElement>
-
onDoubleClickCapture
MouseEventHandler<HTMLInputElement>
-
onDrag
DragEventHandler<HTMLInputElement>
-
onDragCapture
DragEventHandler<HTMLInputElement>
-
onDragEnd
DragEventHandler<HTMLInputElement>
-
onDragEndCapture
DragEventHandler<HTMLInputElement>
-
onDragEnter
DragEventHandler<HTMLInputElement>
-
onDragEnterCapture
DragEventHandler<HTMLInputElement>
-
onDragExit
DragEventHandler<HTMLInputElement>
-
onDragExitCapture
DragEventHandler<HTMLInputElement>
-
onDragLeave
DragEventHandler<HTMLInputElement>
-
onDragLeaveCapture
DragEventHandler<HTMLInputElement>
-
onDragOver
DragEventHandler<HTMLInputElement>
-
onDragOverCapture
DragEventHandler<HTMLInputElement>
-
onDragStart
DragEventHandler<HTMLInputElement>
-
onDragStartCapture
DragEventHandler<HTMLInputElement>
-
onDrop
DragEventHandler<HTMLInputElement>
-
onDropCapture
DragEventHandler<HTMLInputElement>
-
onMouseDown
MouseEventHandler<HTMLInputElement>
-
onMouseDownCapture
MouseEventHandler<HTMLInputElement>
-
onMouseEnter
MouseEventHandler<HTMLInputElement>
-
onMouseLeave
MouseEventHandler<HTMLInputElement>
-
onMouseMove
MouseEventHandler<HTMLInputElement>
-
onMouseMoveCapture
MouseEventHandler<HTMLInputElement>
-
onMouseOut
MouseEventHandler<HTMLInputElement>
-
onMouseOutCapture
MouseEventHandler<HTMLInputElement>
-
onMouseOver
MouseEventHandler<HTMLInputElement>
-
onMouseOverCapture
MouseEventHandler<HTMLInputElement>
-
onMouseUp
MouseEventHandler<HTMLInputElement>
-
onMouseUpCapture
MouseEventHandler<HTMLInputElement>
-
onSelect
ReactEventHandler<HTMLInputElement>
-
onSelectCapture
ReactEventHandler<HTMLInputElement>
-
onTouchCancel
TouchEventHandler<HTMLInputElement>
-
onTouchCancelCapture
TouchEventHandler<HTMLInputElement>
-
onTouchEnd
TouchEventHandler<HTMLInputElement>
-
onTouchEndCapture
TouchEventHandler<HTMLInputElement>
-
onTouchMove
TouchEventHandler<HTMLInputElement>
-
onTouchMoveCapture
TouchEventHandler<HTMLInputElement>
-
onTouchStart
TouchEventHandler<HTMLInputElement>
-
onTouchStartCapture
TouchEventHandler<HTMLInputElement>
-
onPointerDown
PointerEventHandler<HTMLInputElement>
-
onPointerDownCapture
PointerEventHandler<HTMLInputElement>
-
onPointerMove
PointerEventHandler<HTMLInputElement>
-
onPointerMoveCapture
PointerEventHandler<HTMLInputElement>
-
onPointerUp
PointerEventHandler<HTMLInputElement>
-
onPointerUpCapture
PointerEventHandler<HTMLInputElement>
-
onPointerCancel
PointerEventHandler<HTMLInputElement>
-
onPointerCancelCapture
PointerEventHandler<HTMLInputElement>
-
onPointerEnter
PointerEventHandler<HTMLInputElement>
-
onPointerEnterCapture
PointerEventHandler<HTMLInputElement>
-
onPointerLeave
PointerEventHandler<HTMLInputElement>
-
onPointerLeaveCapture
PointerEventHandler<HTMLInputElement>
-
onPointerOver
PointerEventHandler<HTMLInputElement>
-
onPointerOverCapture
PointerEventHandler<HTMLInputElement>
-
onPointerOut
PointerEventHandler<HTMLInputElement>
-
onPointerOutCapture
PointerEventHandler<HTMLInputElement>
-
onGotPointerCapture
PointerEventHandler<HTMLInputElement>
-
onGotPointerCaptureCapture
PointerEventHandler<HTMLInputElement>
-
onLostPointerCapture
PointerEventHandler<HTMLInputElement>
-
onLostPointerCaptureCapture
PointerEventHandler<HTMLInputElement>
-
onScroll
UIEventHandler<HTMLInputElement>
-
onScrollCapture
UIEventHandler<HTMLInputElement>
-
onWheel
WheelEventHandler<HTMLInputElement>
-
onWheelCapture
WheelEventHandler<HTMLInputElement>
-
onAnimationStart
AnimationEventHandler<HTMLInputElement>
-
onAnimationStartCapture
AnimationEventHandler<HTMLInputElement>
-
onAnimationEnd
AnimationEventHandler<HTMLInputElement>
-
onAnimationEndCapture
AnimationEventHandler<HTMLInputElement>
-
onAnimationIteration
AnimationEventHandler<HTMLInputElement>
-
onAnimationIterationCapture
AnimationEventHandler<HTMLInputElement>
-
onTransitionEnd
TransitionEventHandler<HTMLInputElement>
-
onTransitionEndCapture
TransitionEventHandler<HTMLInputElement>
-

Stories

Date Picker

  • Date Picker

  • Range Picker

Text Area