Skip to content

Data model

kodiakhq[bot] edited this page Nov 3, 2021 · 5 revisions

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.


Table of contents

Dependencies (3)

Back links (1)

Writing functional specs (1)

  • Data model is a shared architecture of content across all...

Resources



1. Data model

data type
image Image
svg SVG 2
eyebrow String
heading Object
heading.type String
heading.copy String
copy Markdown utility
children Object
cta CTA


Back to top


2. SVG data model

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


Back to top


Website guidelines

Publishing guidelines (6)

Functional specs

Layout component (37)
Service (3)
UI component (34)
Utility (5)

Additional components

Carbon component (19)
Design only (9)
Feature flag (3)
Clone this wiki locally