Component relationship

Preview#

Use site="main" with an explicit label when the real example lives on the main site instead of the brand documentation site.

Example

{{< component-relationship to="/docs/site-implementation/shortcodes/tabs" >}}

When to use

A link from a dependent interface to the parent that renders its real example.

Implementation

layouts/shortcodes/component-relationship.html

Options

OptionRead by the shortcode template
toRead by the shortcode template
siteRead by the shortcode template
labelRead by the shortcode template

Interface manifest

Kind
Shortcode
Category
Navigation
Status
Implemented
Implementation
Shortcode:layouts/shortcodes/component-relationship.html