Getting Started — ComponentBuilder

Use higher-level workflow components in BootstrapBuilder pages.

1. Install the NuGet Package

Install DMBComponentBuilder alongside DMBPageBuilder and DMBBootstrapBuilder . ComponentBuilder provides product-level UI patterns such as timelines, roadmaps, steps and media viewers.

Install DMBComponentBuilder
dotnet add package DMBComponentBuilder

2. Configure Services

Load ComponentBuilder after its rendering dependencies. Order matters — PageBuilder must be registered before BootstrapBuilder and ComponentBuilder.

Program.cs
using DMBPageBuilder;
using DMBBootstrapBuilder;
using DMBComponentBuilder;

PageBuilderConfiguration.LoadCommonConfig(builder);
BootstrapBuilderConfiguration.LoadCommonConfig(builder);
ComponentBuilderConfiguration.LoadCommonConfig(builder);

3. Add Razor Imports

In your _ViewImports.cshtml , add the ComponentBuilder namespace to make all component builders available in your views.

_ViewImports.cshtml
@using DMBPageBuilder
@using DMBBootstrapBuilder
@using DMBComponentBuilder

4. Pick a Component Family

Start from a demo page before integrating a component into production views. Use Timeline or Roadmap for chronological views, Step by Step or Checkout for guided workflows.

Timeline example
@Html.TimelineBuilder()
    .AddItem(new TimelineItem { Title = "Phase 1", Status = TimelineStatus.Done })
    .AddItem(new TimelineItem { Title = "Phase 2", Status = TimelineStatus.Active })
    .Render()
Available Components
Html.TimelineBuilder()
Html.RoadmapBuilder()
Html.CheckoutProgressBuilder()
Html.StepByStepBuilder()
Html.CodeBlock(...)

Understand how ComponentBuilder layers on top of BootstrapBuilder and PageBuilder?

Check out the architecture guide to understand how ComponentBuilder is structured and how product data flows to rendered markup.

Architecture