View Source DaisyUIComponents.TextInput (DaisyUIComponents v0.2.1)
TextInput component
Summary
Functions
Attributes
type
(:string
) - Defaults to"text"
.color
(:string
) - Must be one of"primary"
,"secondary"
,"accent"
,"info"
,"success"
,"warning"
, or"error"
.bordered
(:boolean
) - Defaults tofalse
.ghost
(:boolean
) - Defaults tofalse
.size
(:string
) - Must be one of"xs"
,"sm"
,"md"
, or"lg"
.- Global attributes are accepted. Supports all globals plus:
["name", "value"]
.
Functions
Attributes
type
(:string
) - Defaults to"text"
.color
(:string
) - Must be one of"primary"
,"secondary"
,"accent"
,"info"
,"success"
,"warning"
, or"error"
.bordered
(:boolean
) - Defaults tofalse
.ghost
(:boolean
) - Defaults tofalse
.size
(:string
) - Must be one of"xs"
,"sm"
,"md"
, or"lg"
.- Global attributes are accepted. Supports all globals plus:
["name", "value"]
.