Package Exports
- @fluentui/react-input
- @fluentui/react-input/package.json
Readme
@fluentui/react-input
React Input components for Fluent UI React
Inputs give people a way to enter and edit text.
Usage
Import Input:
import { Input } from '@fluentui/react-components';Examples
<Input defaultValue="Hello, World!" />
<Input value={value} onChange={onInputChange} />See Fluent UI Storybook for more detailed usage examples.
Alternatively, run Storybook locally with:
yarn start- Select
react-inputfrom the list.
Specification
See Spec.md
Upgrade Guide
If you're upgrading to Fluent UI v9 see the upgrade guide in Storybook under Concepts > Upgrading.