DaisyUIComponents.Textarea (DaisyUIComponents v0.9.9)

View Source

Textarea component

https://daisyui.com/components/textarea

Summary

Functions

textarea(assigns)

Attributes

  • class (:any) - Defaults to nil.
  • value (:any) - 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", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"].

Slots

  • inner_block