View Source DaisyUIComponents.Stat (DaisyUIComponents v0.7.4)

Stat component

https://daisyui.com/components/stat

Summary

Functions

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • figure - Accepts attributes:
    • class (:any)
  • title - Accepts attributes:
    • class (:any)
  • value - Accepts attributes:
    • class (:any)
  • desc - Accepts attributes:
    • class (:any)
  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:string) - Defaults to nil.
  • direction (:string) - Must be one of "horizontal", or "vertical".
  • Global attributes are accepted.

Slots

  • inner_block

Functions

directions()

stat(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • figure - Accepts attributes:
    • class (:any)
  • title - Accepts attributes:
    • class (:any)
  • value - Accepts attributes:
    • class (:any)
  • desc - Accepts attributes:
    • class (:any)
  • inner_block

stat_actions(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

stat_desc(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

stat_figure(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

stat_title(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

stat_value(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

stats(assigns)

Attributes

  • class (:string) - Defaults to nil.
  • direction (:string) - Must be one of "horizontal", or "vertical".
  • Global attributes are accepted.

Slots

  • inner_block