| Name |
Type |
Default value |
Description |
|---|
| Absolute |
bool |
false |
Renders the footer with an absolute position at the bottom of its nearest positioned ancestor. Fixed takes precedence over it, and it takes precedence over Sticky. |
| Alignment |
BitAlignment? |
null |
Gets or sets the horizontal distribution of the content of the BitFooter (the CSS justify-content of the container). Baseline and Stretch act on the cross axis (the vertical alignment) instead. |
| Bordered |
bool |
false |
Renders a divider line on the top edge of the BitFooter to separate it from the content above. |
| ChildContent |
RenderFragment? |
null |
Gets or sets the content to be rendered inside the BitFooter. |
| Classes |
BitFooterClassStyles? |
null |
Custom CSS classes for different parts of the BitFooter. |
| Color |
BitColor? |
null |
The general color of the BitFooter. It is applied through the Variant: as the background color in the Fill variant, and as the text and border color in the Outline and Text variants. |
| Elevated |
bool |
false |
Renders the BitFooter with a shadow cast upwards, to lift it above the content it overlaps. |
| Fixed |
bool |
false |
Renders the footer with a fixed position at the bottom of the page. It takes precedence over Absolute and Sticky when more than one of them is set. |
| Gap |
string? |
null |
Gets or sets the space between the children of the BitFooter (the CSS gap of the container). It takes any CSS length or the two value form of the gap shorthand. |
| Height |
int? |
null |
Gets or sets the height of the BitFooter (in pixels). The height includes the paddings and the border of the footer, and a Fixed or Sticky footer adds the bottom safe area inset of the device on top of it. |
| Hidden |
bool |
false |
Slides the BitFooter out of the view, and brings it back when it is turned off again. A hidden footer is also marked inert, so nothing inside it can be clicked or reached with the keyboard while it is out of the view. |
| NoGutter |
bool |
false |
Removes the default paddings around the content of the BitFooter, so it can span the full width of the footer. |
| OnRevealChanged |
EventCallback<bool> |
|
Callback for when the reveal state of the footer changes. The provided value is true when the footer is revealed. Only invoked while Reveal is enabled. |
| Reveal |
bool |
false |
Slides the footer out of the view while the page is scrolled down and brings it back while the page is scrolled up. It only has an effect on a Fixed or Sticky footer, since the others have nothing to slide over. |
| RevealOffset |
int? |
null |
Gets or sets how far (in pixels) the scroll has to travel from the top before a Reveal footer starts hiding itself. The footer stays revealed while the scroll is still within this offset. |
| Size |
BitSize? |
null |
The size of the BitFooter, which determines the paddings around its content. |
| Sticky |
bool |
false |
Renders the footer with a sticky position at the bottom of the viewport. Unlike Fixed, it stays in the normal flow, so it never overlaps the content. |
| Styles |
BitFooterClassStyles? |
null |
Custom CSS styles for different parts of the BitFooter. |
| Translucent |
bool |
false |
Softens the background of the BitFooter and blurs what passes behind it, for the frosted glass look of a footer pinned over scrolling content. Only the Fill variant has a background to soften. |
| Variant |
BitVariant? |
null |
The visual variant of the BitFooter. |
| VerticalAlign |
BitAlignment? |
null |
Gets or sets the vertical alignment of the content of the BitFooter (the CSS align-items of the container). Only Start, End, Center, Baseline and Stretch align a line on the cross axis, so the three space distributions are ignored here. |
| Wrap |
bool |
false |
Lets the content of the BitFooter wrap onto more than one line instead of being squeezed into a single one. The lines are packed by VerticalAlign and separated by the row part of Gap. |
| Name |
Type |
Default value |
Description |
|---|
| AriaLabel |
string? |
null |
Gets or sets the accessible label for the component, used by assistive technologies. |
| Class |
string? |
null |
Gets or sets the CSS class name(s) to apply to the rendered element. |
| Dir |
BitDir? |
null |
Gets or sets the text directionality for the component's content. |
| ForceAnimation |
bool |
false |
Gets or sets a value indicating whether the component's animations play at their full duration even when reduced motion is requested. |
| HtmlAttributes |
Dictionary<string, object> |
new Dictionary<string, object>() |
Captures additional HTML attributes to be applied to the rendered element, in addition to the component's parameters. |
| Id |
string? |
null |
Gets or sets the unique identifier for the component's root element. |
| IsEnabled |
bool |
true |
Gets or sets a value indicating whether the component is enabled and can respond to user interaction. |
| Style |
string? |
null |
Gets or sets the CSS style string to apply to the rendered element. |
| TabIndex |
string? |
null |
Gets or sets the tab order index for the component when navigating with the keyboard. |
| Visibility |
BitVisibility |
BitVisibility.Visible |
Gets or sets the visibility state (visible, hidden, or collapsed) of the component. |