Skip to content

Radio Button in style of Button #3306

Closed Answered by python-and-fiction
XuanShine asked this question in Q&A
Discussion options

You must be logged in to vote

toggle?

from nicegui import ui

toggle1 = ui.toggle([1, 2, 3], value=1)
toggle2 = ui.toggle({1: 'A', 2: 'B', 3: 'C'}).bind_value(toggle1, 'value')

ui.run()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@XuanShine
Comment options

Answer selected by XuanShine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
community question A question for the NiceGUI community
2 participants