MatBlazor - Material Design components for Blazor and Razor Components
8

MatList

Lists present multiple line items vertically as a single continuous element.

Name Type Description
ChildContent RenderFragment Child content of MatList
Class String Specifies one or more classnames for an DOM element.
SingleSelection Boolean
Style String Specifies an inline style for an DOM element.
TwoLine Boolean
Ref ElementRef Returned ElementRef reference for DOM element.
MatListItem
Name Type Description
ChildContent RenderFragment Child content of MatListItem
Href String
OnClick EventCallback<UIMouseEventArgs>
OnMouseDown EventCallback<UIMouseEventArgs>
Example
  • Item 1
  • Item 2
  • Item 3
SingleSelection
  • Item 1
  • Item 2
  • Item 3
Two-Line List
  • First-line text Second-line text
  • First-line text Second-line text
  • First-line text Second-line text
MatListGroup

List 1

  • line item
  • line item

List 2

  • line item
  • line item
MatListDivider
  • line item
  • line item
  • line item
MatListItem Href

Helper components

MatListItemText
  • Item 1
  • Item 2
  • Item 3
If you like MatBlazor, please put a star on GitHub.