The following example can be added to the preceding RenderFragmentParent component: Render fragments are used to render child content throughout Blazor apps and are described with examples in the following articles and article sections: Blazor framework's built-in Razor components use the same ChildContent component parameter convention to set their content. If the app's root namespace is BlazorSample and the Counter component resides in the Pages folder: For custom folders that hold components, add an @using directive to the parent component or to the app's _Imports.razor file. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Render fragments can also be passed as arguments to templated components. Register the custom event with the preceding handler in wwwroot/index.html (Blazor WebAssembly) or Pages/_Layout.cshtml (Blazor Server) immediately after the Blazor