eQuantic.UIeQuantic.UI
Docs
Playground
GitHub
DocsNavigation
AppBar
View source
1 min read
The top bar of a screen: title, leading action, trailing actions, and a raised state once the content scrolls.
1
using eQuantic.UI.Components;
STATES
Inbox
at rest
Inbox
Scrolled
Usage
1
2
3
4
5
new AppBar("Statements")
{
Leading = new IconButton(Icons.ArrowLeft, "Back", onPressed: Nav.Pop),
Scrolled = _offset > 0,
}
API
Prop
Type
Default
Description
Title
string
The current screen. Truncates with an ellipsis, never wraps.
Leading
VisualNode?
null
Back, close, or the drawer button.
Scrolled
bool
false
Raises the bar so it separates from the content beneath it.
States
State
Rendering
At rest
Flat
Scrolled
Shadow or bottom hairline
Accessibility
The title is the screen heading; name the leading action for what it does — "Back to Accounts".
When to use
Every screen with a title or a way back.
Avoid
More than three trailing actions.
A title that repeats the tab label right below it.
NOTEEvery dimension resolves through Sizing.*(SizeVariant) and the token scales — never a literal. Source: src/eQuantic.UI.Components/AppBar.cs.