Layout > Icon Sidebar example not reacting to user input

You should move those to another component which can have its render mode set appropriately. Check the Blazor documentation about render modes. You can also check this thread: Sidebar not working in .NET 8 RC1 experiment - #13 by korchev