Skip to content
Discussion options

You must be logged in to vote

Hi @merlinarer, you can use the "control-color" prop:

with ui.carousel(animated=True, arrows=True, navigation=True).props(r'height=100% control-color=blue'):
    with ui.carousel_slide(), ui.card().classes('bg-blue-100 w-64 h-32'):
        ui.label('Slide 1')
    with ui.carousel_slide(), ui.card().classes('bg-blue-100 w-64 h-32'):
        ui.label('Slide 2')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by merlinarer
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