Skip to content
daisyBlazor

Indicator

Pins an Item (badge, status dot, anything) to a corner, edge or centre of its content using daisyUI's indicator. Horizontal and Vertical choose among nine positions.
Data display.indicator
Cover · <Indicator>
● Online Tom Becker
8
new

Examples

Positions

Every combination of Vertical and Horizontal.

top start
top center
top end
middle start
middle center
middle end
bottom start
bottom center
bottom end
website/Examples/DataDisplay/IndicatorPositionsExample.razor Source

Content

Badges on buttons and cards, a status dot on an avatar.

12
Ana Silva
Overdue
Invoice #2087
website/Examples/DataDisplay/IndicatorContentExample.razor Source

API

<Indicator>

DaisyBlazor

Parameters

  • Horizontal IndicatorHorizontal
    = IndicatorHorizontal.End

    Horizontal position of the indicator item (Start / Center / End).

  • Vertical IndicatorVertical
    = IndicatorVertical.Top

    Vertical position of the indicator item (Top / Middle / Bottom).

  • Class string
    = null

    Extra CSS classes merged onto the root .indicator element.

  • Style string
    = null

    Inline CSS styles applied to the root element.

Content

  • ChildContent RenderFragment

    The base element over which the indicator is placed.

  • Item RenderFragment

    The element placed as the indicator overlay (badge, dot, icon, etc.).

Something went wrong while running the docs. Reload