Spinner

Utilities

Shows a Spectre spinner with optional message.

@using Spectre.Console
@using RazorConsole.Components

<Spinner Message="Loading..." />

Parameters

5
NameTypeDefaultDescription
Appearance
SpinnerTypeSpinnerType of spinner animation. Default is Dots. See Known for all available styles.
StyleStringSpectre.Console style markup to apply. If null , uses default style.
Other
AutoDismissBooleanWhether the spinner should automatically dismiss when complete. Default is false .
MessageStringMessage displayed next to the spinner. If null or empty, no message is shown.
SpinnerNameStringName of the spinner to use (alternative to SpinnerType). Takes precedence when specified.

API