# SbDivider A visual separator for content sections. Supports horizontal and vertical orientations, and can include an optional label with customizable alignment. ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | Orientation | SbOrientation | Horizontal | Divider direction (Horizontal, Vertical) | | LabelAlign | SbAlign | Center | Label position when content is provided (Start, Center, End) | | Class | string? | null | Additional CSS classes | | Style | string? | null | Inline styles | | AdditionalAttributes | Dictionary? | null | Additional HTML attributes | ## Templates / Slots | Slot | Type | Description | |------|------|-------------| | ChildContent | RenderFragment? | Optional label content displayed within the divider | ### Template Usage #### Simple Divider ```razor ``` #### With Label ```razor OR ``` ## CSS Classes - `sb-divider` - Base class - `sb-divider--horizontal` - Horizontal orientation - `sb-divider--vertical` - Vertical orientation - `sb-divider--with-label` - Has label content - `sb-divider--label-start` - Label aligned to start - `sb-divider--label-center` - Label aligned to center - `sb-divider--label-end` - Label aligned to end - `sb-divider__content` - Label container ## Rendered Element - `
` - When no content is provided - `
` - When label content is provided ## Accessibility - Uses `role="separator"` for semantic separation ## Examples ### Basic Horizontal Divider ```razor

Section 1 content

Section 2 content

``` ### Vertical Divider ```razor
Left Right
``` ### With Label ```razor

First part

OR

Second part

``` ### Label Alignment ```razor START CENTER END ``` ### Login Form Example ```razor Sign In OR Continue with GitHub ``` ### Section Separator ```razor
About Us

Company description...

Our Services

Services description...

``` ### In a Card ```razor
Order Summary

Item 1 - $10.00

Item 2 - $15.00

Total: $25.00
``` ### Toolbar with Vertical Dividers ```razor
```