Preswald home page
Search...
⌘K
Website
StructuredLabs/preswald
StructuredLabs/preswald
Search...
Navigation
Layout
topbar
Documentation
SDK Reference
Community
Blog
PyPI
Displays
text
table
matplotlib
plotly
Image
Controls
slider
selectbox
checkbox
text_input
Data
get_df
query
Layout
sidebar
topbar
Sizing
Workflow
RetryPolicy
Workflow
WorkflowAnalyzer
Workflow DAG
Deprecated
alert
button
Chat
playground
progress
separator
Spinner
On this page
Parameters
Returns
Usage Example
Layout
topbar
Copy
topbar()
The
topbar()
function allows you to include a fixed topbar in your app.
Parameters
None
Returns
Returns a topbar component object
Usage Example
Here’s an example of how to use the
topbar
function:
Copy
from
preswald
import
topbar
#add the topbar
topbar()
This will add the topbar to your app:
Was this page helpful?
Yes
No
sidebar
Sizing
Assistant
Responses are generated using AI and may contain mistakes.