View Source DaisyUIComponents.TextInput (DaisyUIComponents v0.1.1)

TextInput component

https://daisyui.com/components/input

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 to false.
  • ghost (:boolean) - Defaults to false.
  • 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 to false.
  • ghost (:boolean) - Defaults to false.
  • size (:string) - Must be one of "xs", "sm", "md", or "lg".
  • Global attributes are accepted. Supports all globals plus: ["name", "value"].