LiveUiKit.UI.Spinner (LiveUIKit v0.2.0)

Spinners indicate the loading state of a component or page.

Link to this section Summary

Functions

Spinner component

Link to this section Functions

Spinner component:

examples

Examples

<.spinner />
<.spinner visible={false} />
<.spinner class="w-8 h-8 text-primary animate-spin" />
<.spinner extended_class="mr-4" />

options

Options

  • visible - Determines if the spinner should be rendered.
  • extended_class - The class or classes that will be appended to the default class attribute.

All further assigns will be passed to the spinner tag.