k at this example:</p>
<pre language="razor">&lt;button type="button" @onclick='_ =&gt; Message += "&lt;code&gt;Level 1&lt;/code&gt; clicked. "'&gt;
    Level 1
    &lt;button type="button" @onclick='_ =&gt; Message += "&lt;code&gt;Level 2&lt;/code&gt; clicked. "'&gt;
        Level 2
        &lt;button type="button" @onclick='_ =&gt; Message += "&lt;code&gt;Level 3&lt;/code&gt; clicked. "'&gt;
            Level 3
        &lt;/button&gt;
    &lt;/button&gt;
&lt;/button&gt;</pre>
<p>In this example, we have 3