How can I achieve side-by-side alignment using the canvas kit? | Community
Skip to main content
Answered

How can I achieve side-by-side alignment using the canvas kit?

  • July 10, 2022
  • 1 reply
  • 154 views

I am developing an inbox app. I need to align the image and text in one line the data table does. How can I achieve side-by-side alignment using the canvas kit?

Best answer by Magnus

Hey @manoj r11​, Magnus from Intercom here!

 

The Canvas Kit does not allow for Images and text side by side with the Data Table component.

 

However, you can use a List to line up images next to text! Here's a very basic example of what that might look like.

 

You can find more information on how to use the List component in the Canvas Kit list documentation, here.

 

1 reply

  • Employee
  • Answer
  • July 13, 2022

Hey @manoj r11​, Magnus from Intercom here!

 

The Canvas Kit does not allow for Images and text side by side with the Data Table component.

 

However, you can use a List to line up images next to text! Here's a very basic example of what that might look like.

 

You can find more information on how to use the List component in the Canvas Kit list documentation, here.