- Home
- /
- Design
- /
- DMBComponentBuilder
- /
- Getting Started
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.
dotnet add package DMBComponentBuilder2. Configure Services
Load ComponentBuilder after its rendering dependencies. Order matters — PageBuilder must be registered before BootstrapBuilder and ComponentBuilder.
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.
@using DMBPageBuilder
@using DMBBootstrapBuilder
@using DMBComponentBuilder4. 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.
@Html.TimelineBuilder()
.AddItem(new TimelineItem { Title = "Phase 1", Status = TimelineStatus.Done })
.AddItem(new TimelineItem { Title = "Phase 2", Status = TimelineStatus.Active })
.Render()Available Components
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