Skip to content

How to align Chat Messages based on 'sent' status? #3291

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

You must be logged in to vote
from nicegui import ui
with ui.element('div').classes('w-full'):
    ui.chat_message('I am the first box')
    ui.chat_message('I am the second box', sent=True)
ui.run()

Replies: 1 comment 1 reply

Comment options

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

Answer selected by falkoschindler
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