Skip to main content

Input

Use Input to build forms for your interface. This component provides a styled version of HTML input.

Usage Example#

Live Editor
Result

Props#

PropTypeDefaultDescription
bgstring (optional)'background'
borderinteger (optional)1
borderColorstring (optional)'moon-gray'
borderRadiusinteger (optional)1
boxShadowinteger (optional)1
colorstring (optional)'text'
fontSizestring (optional)'1rem'
heightstring (optional)'3rem'
lineHeightstring (optional)'initial'
pinteger (optional)3
themeobject (optional)

Input uses COMMON, LAYOUT, POSITION, FLEXBOX, BORDERS groups of Styled System props.