MatBlazor - Material Design components for Blazor and Razor Components

MatList

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

Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Child content of MatList
Class String Specifies one or more classnames for an DOM element.
Id String
RefBack ForwardRef
SingleSelection Boolean
Style String Specifies an inline style for an DOM element.
TwoLine Boolean
Ref ElementReference Returned ElementRef reference for DOM element.
MatListItem

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

Name Type Description
Attributes Dictionary<String,Object>
ChildContent RenderFragment Child content of MatListItem
Class String Specifies one or more classnames for an DOM element.
Disabled Boolean List Item is disabled.
Href String The URL of the List Item
Id String
OnClick EventCallback<MouseEventArgs>
OnMouseDown EventCallback<MouseEventArgs>
RefBack ForwardRef
Style String Specifies an inline style for an DOM element.
Ref ElementReference Returned ElementRef reference for DOM element.
Example
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.