Data model - carbon-design-system/carbon-for-ibm-dotcom-website GitHub Wiki
Standard
Data model
This ContentModel is a standard content structure to be used across the IBM.com Library. It defines, and standardizes the content hierarchy in a way that allows us to be consistent and speak the same language as we build out new components.
Back links (1)
- Data model is a shared architecture of content across all...
Resources
data | type |
---|---|
image |
Image |
svg |
SVG 2 |
eyebrow |
String |
heading |
Object |
heading.type |
String |
heading.copy |
String |
copy |
Markdown utility |
children |
Object |
cta |
CTA |
data | type | ||
---|---|---|---|
(required) |
src |
String or Object
|
SVG |
...otherProps |
Attributes |
Attributes like ariaLabel , or aria-hidden can be passed in and applied to the SVG
|