Input
Input fields let users enter and edit text.
Import
import { Input } from "@webeetle/windy";
#
DefaultResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
ColorsResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
SizeResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Prefix/SuffixResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
PropsProps | Type | Default |
---|---|---|
label | string | "" |
prefix | string | "" |
suffix | string | "" |
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 |
disabled | bool | false |