Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

FloatingButton

Since 0.1.0-alpha.22
Floats the page's main action in a corner of the window.

IzzyBlazor.FloatingButton in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (14)

IconIconData requiredAdded in 0.1.0-alpha.22

The icon, such as Lucide.Plus.

Labelstring requiredAdded in 0.1.0-alpha.22

What it does, such as "New invoice": its accessible name, and its text with ShowLabel.

ShowLabelbool = falseAdded in 0.1.0-alpha.22

Shows Label beside the icon, for a main action an icon alone wouldn't name.

PlacementFloatPlacement = FloatPlacement.BottomEndAdded in 0.1.0-alpha.22

Where it sits. Defaults to FloatPlacement.BottomEnd.

Roundbool = falseAdded in 0.1.0-alpha.22

Makes it round (a pill with ShowLabel). Defaults to a rounded square.

AccentAccent = Accent.PrimaryAdded in 0.1.0-alpha.22

Its color. Defaults to Primary.

SizeControlSize = ControlSize.LgAdded in 0.1.0-alpha.22

Its size. Defaults to ControlSize.Lg.

Hrefstring?Added in 0.1.0-alpha.22

Makes it a link to this address.

Submitbool = falseAdded in 0.1.0-alpha.22

Makes it a submit button for the form around it, or the one named by Form.

Namestring?Added in 0.1.0-alpha.22

The name a submit button posts with its Value.

Valuestring?Added in 0.1.0-alpha.22

The value a submit button posts under its Name.

FormActionstring?Added in 0.1.0-alpha.22

An address a submit button posts to in place of its form's.

Formstring?Added in 0.1.0-alpha.22

The id of the form a submit button belongs to, when it's outside it.

Disabledbool = falseAdded in 0.1.0-alpha.22

Turns it off.

Events (1)

OnClickEventCallback<MouseEventArgs>Added in 0.1.0-alpha.22Interactive only

Runs on click on interactive pages (a link still navigates). Has no effect on static pages.

Types (3)

Accent

class

The color of a control: buttons, badges, tags, banners, progress bars and menu items. Primary, Neutral and Danger are the roles; emphasis comes from the variant (solid, soft, outline, ghost, link), not from more colors. For one control in another color, use Of (any CSS color) or Token (a theme token); text on it is chosen for contrast.

Accent members
MemberDescription
Primary

The brand color, for the main action.

Neutral

A quiet, gray action.

Danger

A destructive action, such as Delete.

Of(string css)

Any CSS color, such as "#0d9488". Text on it is black or white, whichever reads better.

Token(string name)

A theme token, such as "brand" for --ib-color-brand; text on it uses --ib-color-on-brand when the theme defines it.

From(Color color)

A Color as an accent, such as Color.Success.

ControlSize

enum

The height of interactive controls. Shared by buttons and form fields, so a button and an input of the same size line up in a row.

ControlSize values
ValueDescription
Sm

32px tall, small text.

Md

36px tall (the default).

Lg

44px tall, large text. For touch-first and marketing pages.

FloatPlacement

enum

Where a floating button sits in the window. Start and End follow the reading direction.

FloatPlacement values
ValueDescription
BottomEnd

The bottom corner on the end side (the default).

BottomStart

The bottom corner on the start side.

BottomCenter

The bottom edge, centered.

Connection lost

Rejoining the server…