Go to the homepage
Powered bySitecore Search logo
Skip to main contentThe Components page has loaded.

Components

Learn more on how you can contribute to the Developer Portal

On top of the standard Markdown functionality we have added several components authors can use to visualize content

Article

Description

Card that shows a title, descriptive text and a button that links to the full article

Example

XM Cloud Introduction

XM Cloud is around the corner. But what is XM Cloud? What does it include? And how can you prepare for it?

Code

<Article title="XM Cloud Introduction" description="XM Cloud is around the corner. But what is XM Cloud? What does it include? And how can you prepare for it?" link="/learn/getting-started/xm-cloud-introduction" maxWidth="sm" />

Description

Highlight a link

Example

User Documentation

Code

<Link title="User Documentation" link="https://doc.sitecore.com/xmc/en/users/xm-cloud/index-en.html" maxWidth="sm" />

Repository

Description

Card that shows a GitHub repository and the programming language(s) it uses

Example

Sitecore Developer Portal

Open source repo for the Sitecore Developer Portal (https://developers.sitecore.com)

Code

<Repository framework="Nextjs" name="Sitecore Developer Portal" description="Open source repo for the Sitecore Developer Portal" repositoryUrl="https://github.com/sitecore/developer-portal" maxWidth="md" />

Row

Description

Helper component that can be used to show cards next to each other

Example

Code

<Row columns={4}> <Link title="User Documentation" link="https://doc.sitecore.com" /> <Link title="Developer Documentation" link="https://doc.sitecore.com" /> <Link title="XM Cloud Build Configuration" link="https://doc.sitecore.com" /> <Link title="XM Cloud Deploy App" link="https://doc.sitecore.com" /> <Link title="Developer Tools" link="https://doc.sitecore.com" /> <Link title="XM Cloud development" link="https://doc.sitecore.com" /> </Row>

Promo

Description

Component that can be used to promote another section within the Developer Portal or external content

Example

Code

<Promo title="Use a better title than this" description="This is are where you can add a description or introduction text" imageSource="../link/to/image.jpg" linkText="Link to anywhere" linkHref="https://developers.sitecore.com" isImageLeft={false} />

VideoPromo

Promote a topic using a YouTube video, title and description

Description

Example

Content Hub ONE

Content Hub ONE is designed for brands that need an agile headless CMS to support quickly evolving experiences targeting multiple channels. With Content Hub ONE marketers can deliver consistency across touchpoints while maintaining the content in one central location.

Code

<VideoPromo youTubeId="cP2BBlgKZS8" title="Content Hub ONE" description="Content Hub ONE is designed for brands that need an agile headless CMS to support quickly evolving experiences targeting multiple channels. With Content Hub ONE marketers can deliver consistency across touchpoints while maintaining the content in one central location." />

Edit this page on GitHub

Feedback

© Copyright 2024, Sitecore. All Rights Reserved