Default Light
MgLibrary
Overview
Installation
Buttons
Cards
Charts
Codes
Data Grids
Dropdowns
Editors
Headers & Animations
Icons
Indicators
Inputs
Lists
Modals
Menus
Panels
Pills & Chips
Scheduling
Tabs
Time Line
Trees
Customization

Dividers

Dividers separate content and can be horizontal, vertical, or include text.

Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.

API Reference: MgDivider

Property Type Default Description
Orientation MgOrientation Horizontal The layout orientation of the divider.
DisplayText string "" Optional text to display within the divider.
ChildContent RenderFragment null Custom content to display within the divider.
An unhandled error has occurred. Reload 🗙