--- name: TextInput route: /components/textinput menu: Components --- import { Playground, Props, Link } from 'docz' import TextInput from './TextInput' # TextInput Component for inputting textual values. ## Props ## Usage Notes The component will behave as `block`, i.e. it takes the remaining of the horizontal space. To use the component together with layouts, see the following examples. ### Inline The components are surrounded by `inline-block` elements. These surrounding elements have specified widths, which could act as guide to the user on how long the expected input values are.
I am and I live in .
### Grid It is advisable to put surrounding elements instead of the `TextInput` components themselves as children of the element specified as `grid`. This is to be able to add complementing content to the components, if for example there are some content that is best displayed outside the component instead of putting in the `hint` prop.
Consult the fees table for shipping fee details.
## See Also - Select for a graphically-similar component suitable for selecting more values.