Table of Contents

Snackbar

Summary

The snackbar service provides standard Material Theme snackbars.

Service Setup and Anchor

The service is installed as described in the Installation article. Configuration parameters are listed on the IMBSnackbarService page. You will also need to place the MBAnchor component in App.razor, also as shown in the Installation article.

Launching a Snackbar

Sanckbars are launched from C# code. Use dependency injection to get an IMBSnackbarService as relevant and then call ShowSnackbar() method.