DaisyUIComponents.TextInput (DaisyUIComponents v0.9.9)

View Source

TextInput component

https://daisyui.com/components/input

Summary

Functions

text_input(assigns)

Attributes

  • type (:string) - Defaults to "text".
  • class (:string) - Defaults to nil.
  • color (:string) - Must be one of "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • ghost (:boolean) - Defaults to false.
  • size (:string) - Must be one of "xs", "sm", "md", "lg", or "xl".
  • Global attributes are accepted. Supports all globals plus: ["autocomplete", "dirname", "disabled", "form", "list", "max", "maxlength", "min", "minlength", "name", "pattern", "placeholder", "readonly", "required", "step", "value"].