Skip to content

Adding an image best practices #2326

Answered by shleewhite
eshanholtz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @eshanholtz! This is a great use case for Media Object. It helps with laying out images inline with other items, there's more info on the docs page: https://paste.twilio.design/components/media-object#about-media-object.

Here is an example of how you could build the UI: https://codesandbox.io/s/angry-wiles-ymgvj7?file=/src/App.tsx

Please let me know if you have more questions.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by eshanholtz
Comment options

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