DaisyUIComponents.Alert (DaisyUIComponents v0.9.3)

View Source

Alert component

https://daisyui.com/components/alert

Summary

Functions

alert(assigns)

Attributes

  • id (:string) - the optional id of alert container. Defaults to nil.
  • class (:any) - Defaults to nil.
  • color (:string) - Must be one of "info", "success", "warning", or "error".
  • soft (:boolean) - Defaults to false.
  • outline (:boolean) - Defaults to false.
  • dash (:boolean) - Defaults to false.
  • direction (:string) - Must be one of "vertical", or "horizontal".
  • Global attributes are accepted.

Slots

  • inner_block