Input
Input is a styled HTML Input. There are no behavior changes applied to the native HTML tag other than light styling done via CSS in order to keep inputs accessible.
- On this page
Properties
color
The Dracula UI theme color to be used
"cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white"
size
Controls the size of the input based on pre-configured Dracula UI sizes.
number | "lg" | "md" | "sm"
borderSize
Controls the border size of the input based on pre-configured Dracula UI sizes.
"lg" | "md" | "sm"
variant
Controls the variation the input. `normal` -> Regular Input component with a light background color. `outline` -> Keeps the accent color, but removes the background.
"normal" | "outline"
type
Controls the type of the input.
"number" | "hidden" | "color" | "button" | "checkbox" | "date" | "datetime-local" | "email" | "file" | "image" | "month" | "password" | "radio" | "range" | "reset" | "search" | ... 6 more ...