input-adornment

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
20,506
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
25 KB
Demos: - [Text Fields](https://material-ui.com/components/text-fields/) API: - [InputAdornment API](https://material-ui.com/api/input-adornment/)
2 contributors
Install input-adornment as a package?
Copied
npm i @bit/mui-org.material-ui.input-adornment
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
inputAdornment ()
Properties
NameTypeDescription
children
(required)
node

The content of the component, normally an IconButton or string.

classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
component
elementType

The component used for the root node. Either a string to use a DOM element or a component.

disablePointerEvents
bool

Disable pointer events on the root. This allows for the content of the adornment to focus the input on click.

disableTypography
bool

If children is a string then disable wrapping in a Typography component.

muiFormControl
object
position
'start' | 'end'

The position this adornment should appear relative to the Input.

variant
'standard' | 'outlined' | 'filled'

The variant to use. Note: If you are using the TextField component or the FormControl component you do not have to set this manually.

Help and resources