Component Preview Templates

I’ve added Preview Templates to my components so when then are used in Blocks section I get a more user friendly view, however, I have a couple of queries…

  1. Is there a reason why the block preview is limited to 250px wide as opposed to using the full width of the block preview area?

  2. According to the docs, you can use the class attribute. As you can only use a few html tags (not including style), what is the purpose of the class attribute?


Hello Dan,

  1. The reason for the 250px limitation is to make templates future proof for UI changes.
  2. You can use the class to add uikit classes