Content item is one of our most basic Layout components. The original was built in the v1 library, but its options have been expanded in v2. The component pictogram item used to exist separately, but is now part of content item, which now has an alignment option for vertical (default) and horizontal:
v2 updates
[x] Updated color and type tokens to Carbon core v11
[x] Vertical: default, pictogram, media (image or video), large icon (pictogram or app logo), percentage
[x] Horizontal: pictogram, media (image only), large icon (pictogram or app logo)
[x] @sm all horizontal becomes aligned vertically
[x] Spacing has been updated across options
[x] The user can choose either to have no links or one link (probably best to use a boolean here)
Resources
Content item is one of our most basic Layout components. The original was built in the v1 library, but its options have been expanded in v2. The component
pictogram item
used to exist separately, but is now part ofcontent item
, which now has an alignment option forvertical
(default) andhorizontal
:v2 updates
@sm
all horizontal becomes aligned vertically