Learn and discuss how to model content in the editor

This category is for learning about how to create the content models, Slices, in your Prismic repo to best reflect and work with your components in your front-end.

If you have any suggestions on how to improve Slices so that they can better work with the components that you’re creating, then this is the place to post.

Remember if you are suggesting improvements please include as much information as possible including:

  • What you are trying to achieve
  • Images of the design you want to implement
  • Your current approach

We will then work alongside you to provide solutions to your content model to help create what you need and discuss where things can be improved.

This is a place for finding solutions TOGETHER, so please keep it civilized.

It would be nice if we could make some changes to the slice UI depending on… something. For example, specifying the number of elements in a repeatable field, or which image variant gets shown by default.

Here’s an example:

This will end up being a grid with four columns and square images (as you can see from the label).

It would be so cool if there was some way to specify the image variant to be the ‘square’ ones I have set up (along with landscape, portrait and original, and if it could specify how many images were shown alongside each other.

Also, it would be nice if there was some ‘narrow’ variant of the slice UI so we could select that and have less paddings and margin everywhere.

What do you think? :smile: