Maui.Button (maui v0.1.17)

Summary

Functions

button(assigns)

Attributes

  • class (:string) - Defaults to "".
  • variant (:string) - Defaults to "default". Must be one of "default", "destructive", "outline", "secondary", "ghost", or "link".
  • size (:string) - Defaults to "default". Must be one of "default", "sm", "lg", or "icon".
  • Global attributes are accepted. Supports all globals plus: ["href", "navigate", "patch", "method", "download", "name", "value", "disabled"].

Slots

  • inner_block (required)