---
title: Examples
slug: wip/TP4Z-examples
createdAt: 2023-08-08T06:49:47.776Z
---

# Examples

## Basic Usage

The Default Item only needs a minimal amount of provided data to be used. It requires at a minimum that the headline field is provided.

:::Iframe{iframeHeight="0" code="<iframe title=&#x22;Embeded content from codepen.io&#x22; class=&#x22;no-border max-full-width full-height flex-grow&#x22; src=&#x22;https://codepen.io/redbulldesign/embed/LYXqgaP/7e57b107524ea752d49b67ba8e5b7bca?defaultTab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;360px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

## Extended Usage

:::Iframe{iframeHeight="0" code="<iframe title=&#x22;Embeded content from codepen.io&#x22; class=&#x22;no-border max-full-width full-height flex-grow&#x22; src=&#x22;https://codepen.io/redbulldesign/embed/KKrJGEo/eb5c04dbedb9355aa40de0b4e31e1eb3?defaultTab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;360px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

## Size

The size of the Default Item can be controlled via the `size` property.

:::Iframe{iframeHeight="0" code="<iframe title=&#x22;Embeded content from codepen.io&#x22; class=&#x22;no-border max-full-width full-height flex-grow&#x22; src=&#x22;https://codepen.io/redbulldesign/embed/RwqveOR/3988ca5f0955cdf90269d3abdda290a7?defaultTab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;397px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

**Best Practices:**

- Use the 'small' size when you want to create a more condensed layout where multiple items are displayed in a list or a rail.
- Use the 'medium' size when there is greater space available to show only a single Default Item.

## Use Cases

### Contained Usage

The Default Item can be contained inside longer-form text and properly denoted within the link's tooltip.

:::Iframe{iframeHeight="0" code="<iframe title=&#x22;Embeded content from codepen.io&#x22; class=&#x22;no-border max-full-width full-height flex-grow&#x22; src=&#x22;https://codepen.io/redbulldesign/embed/vYQbVoK/1e024b4e7f508464c74b3e74f0248978?defaultTab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;484px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

### Used as a sidebar

:::Iframe{iframeHeight="0" code="<iframe title=&#x22;Embeded content from codepen.io&#x22; class=&#x22;no-border max-full-width full-height flex-grow&#x22; src=&#x22;https://codepen.io/redbulldesign/embed/jOQdQEK/35eca5c2a1f370e76dc4c6de4a182aae?defaultTab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;411px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

