Skip to main content

Input

Input fields let users enter and edit text.

Import
import { Input } from "@webeetle/windy";

Default#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Colors#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Size#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Prefix/Suffix#

Result
SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
Live Editor

Props#

PropsTypeDefault
labelstring""
prefixstring""
suffixstring""
color[ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"]gray
size["xs", "sm", "md", "lg", "xl"]md
rounded["xs", "sm", "md", "lg", "xl"]md
shadow["xs", "sm", "md", "lg", "xl"]md
disabledboolfalse