Skip to content
Discussion options

You must be logged in to vote

Yes, this works today — it's just CSS layering, and there are two routes.

1. Nest the icon inside the progress bar. Quasar's QLinearProgress has a default slot for exactly this, so any element you nest under ui.linear_progress is drawn on top of it:

with ui.linear_progress(value=0.4, size='28px', show_value=False):
    ui.icon('change_history', color='white').classes('absolute-full flex items-center justify-start pl-1')

justify-start pins it to the left end (justify-center for the middle). Two gotchas: give size enough height for the icon, and pass show_value=False so the built-in percentage label doesn't sit in the same space.

2. Generic stacking, for any two elements — a relative parent…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Black-Maille
Comment options

@Black-Maille
Comment options

@evnchn
Comment options

evnchn Aug 4, 2026
Collaborator

@Black-Maille
Comment options

Answer selected by Black-Maille
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants