Fluent UI Components overview

Most components in the Fluent UI Blazor library derive from FluentComponentBase. This page gives an overview of the parameters, that are available on all components that inherit from this abstract base class.

FluentComponentBase

FluentComponentBase is the abstract base class all other Fluent UI Razor components inherit from.

You can not create or use a FluentComponentBase on a page or in another component but it adds the following parameters to every derived component.

These parameters are not shown in the component overviews of the derived components pages

Parameters

Name
Type
Default
Description
AdditionalAttributes IReadOnlyDictionary<string, object>?null
Gets or sets a collection of additional attributes that will be applied to the created element.
Classstring?null
Gets or sets optional CSS class names. If given, these will be included in the class attribute of the component.
Dataobject?null
Used to attach any user defined data object to the component.
ElementElementReferencenull
Gets or sets the associated web component.

May be 'null' if accessed before the component is rendered.
Idstring?null
Gets or sets an optional Id for the component. A unique id can be generated with Identifier.NewId() method. The value will be used as the HTML global id attribute.
ParentReferenceReference?null
Gets or sets a reference to the enclosing component.
Stylestring?null
Optional in-line styles. If given, these will be included in the style attribute of the component.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙