# SbGridItem A child component of SbGrid that spans a specified number of columns with responsive breakpoint support. ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | Span | int | 1 | Number of columns this item spans (1-12) | | SpanSm | int? | null | Column span at small breakpoint (640px+) | | SpanMd | int? | null | Column span at medium breakpoint (768px+) | | SpanLg | int? | null | Column span at large breakpoint (1024px+) | | SpanXl | int? | null | Column span at extra large breakpoint (1280px+) | | Class | string? | null | Additional CSS classes | | Style | string? | null | Inline styles | | AdditionalAttributes | Dictionary\? | null | Additional HTML attributes | ## Templates / Slots | Slot | Type | Description | |------|------|-------------| | ChildContent | RenderFragment | Content to render inside the grid item | ## CSS Classes - `sb-grid-item` - Base class - `sb-grid-item--sm-{n}` - Small breakpoint span - `sb-grid-item--md-{n}` - Medium breakpoint span - `sb-grid-item--lg-{n}` - Large breakpoint span - `sb-grid-item--xl-{n}` - Extra large breakpoint span ## CSS Variables - `--sb-grid-span` - Number of columns to span ## Examples ### Basic Usage ```razor Half width Half width ``` ### Responsive Span ```razor Responsive Card ``` ### Full Width Header ```razor

Page Title

Main Content Sidebar
``` ### Mixed Column Widths ```razor 1/3 width 2/3 width 1/4 width 1/4 width 1/2 width ``` ### Responsive Dashboard ```razor @* Stats row - 4 columns on large, 2 on medium, 1 on small *@ @* Chart - full width on small, 2/3 on large *@ Chart Area @* Activity feed - full width on small, 1/3 on large *@ Activity Feed ```