Content block is the key content component for Dotcom. It includes an optional heading, subheading, and a link with icon CTA. Content block leaves the first four columns open for content section or toc but can also leave the space empty.
The premier feature for content block is that it can nest components like content group or card group inside and expand vertically. We may need to revisit some nested components to ensure they nest properly. The other important piece is that it should work with toc or content section in the first four columns.
The top and bottom spacing have built-in margin to allow block to stack one on top of the other more consistently.
v2 updates
[ ] Updated color and type tokens to Carbon v11.
[ ] Can slot in components like content group and card group – we may need to revisit these so that they nest properly. ⚠
[ ] Should work with toc and content section in the first four columns. Content block should also be able to have an empty first four columns OR remove the first four columns. ⚠
[ ] Should be able to toggle on/off the heading, subheading, CTA, slot component.
[ ] Content block should have an option to include a border or not – this effects the bottom spacing (see rough specs above).
[ ] CTA can be link with iconcard linkfeature card - medium or button group (could treat this as a slot, or have an option to switch between this set of components).
Resources
Content block is the key content component for Dotcom. It includes an optional heading, subheading, and a link with icon CTA. Content block leaves the first four columns open for
content section
ortoc
but can also leave the space empty.The premier feature for content block is that it can nest components like
content group
orcard group
inside and expand vertically. We may need to revisit some nested components to ensure they nest properly. The other important piece is that it should work withtoc
orcontent section
in the first four columns.The top and bottom spacing have built-in margin to allow
block
to stack one on top of the other more consistently.v2 updates
content group
andcard group
– we may need to revisit these so that they nest properly. ⚠toc
andcontent section
in the first four columns.Content block
should also be able to have an empty first four columns OR remove the first four columns. ⚠link with icon
card link
feature card - medium
orbutton group
(could treat this as a slot, or have an option to switch between this set of components).