Skip to main content

Input
component

A simple component for inputting text. You can view the Storybook for more interactive examples.

Was this section helpful?

Input

import {Input} from '@shopify/shop-minis-react'

export default function MyComponent() {
return <Input placeholder="Enter text..." value="This is an input" />
}

Preview

Input states and configurations

An input with placeholder text

An input with a preset value

A disabled input field

Was this section helpful?

Default input

import {Input} from '@shopify/shop-minis-react'

export default function MyComponent() {
return <Input placeholder="Enter text..." value="This is an input" />
}