Socket
Book a DemoInstallSign in
Socket

@instructure/ui-text-input

Package Overview
Dependencies
Maintainers
43
Versions
1807
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/ui-text-input

A styled HTML text input component.

Source
npmnpm
Version
10.25.1-snapshot-0
Version published
Weekly downloads
11K
-14.07%
Maintainers
43
Weekly downloads
 
Created
Source

ui-text-input

npm MIT License Code of Conduct

A styled HTML text input component.

Components

The ui-text-input package contains the following:

  • TextInput

Installation

npm install @instructure/ui-text-input

Usage

class ControlledTextInputExample extends React.Component {
  constructor(props) {
    super(props)

    this.state = {
      value: 'Mint chocolate chip'
    }
  }

  handleChange = (e, value) => this.setState({ value })

  render() {
    return (
      <View as="div">
        <TextInput
          renderLabel="What is your favorite ice cream flavor?"
          value={this.state.value}
          onChange={this.handleChange}
        />
        <View as="div" margin="medium none none">
          <code>this.state.value = {this.state.value}</code>
        </View>
      </View>
    )
  }
}

render(<ControlledTextInputExample />)

FAQs

Package last updated on 11 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts