Using Material 3 theme in client-side Blazor WASM app

Hi there!

We are working on a client-side only Blazor WebAssembly app. As previously discussed, I created the client-side only app from Visual Studio (since doing it this way was suggested by your team). We have been able to get basic config done using Radzen Blazor Studio, but are now interested in how we can apply the premium themes from RBS on this project type.

Is there a way to pull the themes into this project? And further if that is possible, are there any limitations to using RBS to build the page design in the client-side only app?

Looking forward to your thoughts on the matter.

Thanks!
John

Hi @nihilanth,

You can add any theme CSS file as style reference in the index.html of your client-side only application. Make sure that the file is in the wwwroot similar to the other CSS files.

Thanks @enchev !

I'll give that a shot.

One more question, using RBS for design on the client-side blazor wasm app, are there any limitations I should be aware of (example: do all the component dependencies go to the right place on the client only app, versus where they would go on the client/server model)? Our goal is to use RBS for as much design work as possible, all of it hopefully...but want to make sure we're doing something supported as there is no client-side only project that can be made from RBS new project, and why we pulled in the project from our VS template. Hopefully this makes sense.

Thanks!

Hi @nihilanth,

We are not aware of any limitations related to designing the application.

1 Like

I want to add that some features (e.g. database access) require a service and won't be available in a client-side only application.

1 Like

Appreciate the input from you both. Thank you!

Quick question to @korchev: the RBS roadmap previously had an item to support the creation of client-side only Blazor WASM Apps (no server side), but I notice this item has been removed from the roadmap recently. I think this will be quite useful - are there still any plans to support this scenario in future?

@Xander We’ve decided that there are more important tasks like supporting MAUI, Visual Studio plugin, etc. Since the scaffolding will not work for plain WASM applications the RBS functionality will be limited to design time support only.