---
title: Examples
slug: wip/jYUS-examples
createdAt: 2023-07-20T14:45:03.180Z
---

# Examples

## Basic Usage

Flags are identified by a unique code.

:::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/jOemmzX/8fd344aa51fa5872bb82ecc352ee4457?default-tab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;208px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

## Size

Flags maintain their aspect ratio while their dimensions can be changed either via CSS `width` or `height` or via the Customization API.

:::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/oNaZryM/8e1a5741d890c729d1a8069babf0cdb0?default-tab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;309px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

## Usage with other components

The Flag is often used as a decorative element in other components. Here are some examples that demonstrate their common usage with other standard Comsos components

:::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/ExdWBpo/1f4182aca3d00f457844716d4c8ddfb9?default-tab=html%2Cresult&#x26;amp;editable=true&#x26;amp;theme-id=39623&#x22; height=&#x22;651px&#x22; loading=&#x22;lazy&#x22;></iframe>"}

:::

