Modern chat like UI


Is there a streamlit boilerplate to achieve similar type of modern chat UI like the ones attached? If so, appreciate having some guidance support.