Conditional Display

Hello! I’m planning a feature for a page and want to simplify the structure of it to present two different styles based upon a custom value with a post. I’m imagining that a custom attribute on an element in Blocs might be able to provide the desired outcome if a custom value is provided with the post.

Essentially, I want to use a Wordpress loop for a bric (hopefully a bloc in the future as it gets more developed) — and based upon a value, such as “left” or “right” the appropriate bric (bloc) would be displayed for the given amount of elements in the provided “category”.

My experience with custom attributes is basically nil. Any good resources to use as a reference or ideas on how to implement this?

Really excited about the integration of Wordpress so far!