---
title: Border
slug: wip/border
createdAt: 2023-07-21T06:12:22.731Z
---

# Border

Cosmos supports two different border widths that you can apply to any interface element. Use thinner borders to create contrast and structure. Use thicker borders to increase the affordance of interactive elements.

:::hint{type="info"}
🎨 **Figma:&#x20;**&#x42;order Tokens are available as  [Figma variables](https://help.figma.com/hc/en-us/articles/15343107263511-Apply-variables-to-designs#Apply_a_number_variable).

💻 **Code:** The Border is available as a variable.
:::



::::VerticalSplit{layout="left"}
:::VerticalSplitItem
::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/5HCjif6BCQdcIBXnSQGd0_cosmos-border-thin.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/yU6ct2h1dJBmbC_vI1ytc_dark-cosmos-border-thin.png" size="48" width="200" height="200" darkWidth="200" darkHeight="200" position="center" showCaption="false"}
:::

:::VerticalSplitItem


`cosmos-border-thin`

1px



:::
::::

::::VerticalSplit{layout="left"}
:::VerticalSplitItem
::Image[]{src="https://api.archbee.com/api/optimize/Kp4perMrWxGYfa_PWfi7H/uh_iQjN7rUsM_kwD5phRt_cosmos-border-medium.png" darkSrc="https://archbee-image-uploads.s3.amazonaws.com/Kp4perMrWxGYfa_PWfi7H/z6pobYc3OeBsIiVmrIEdv_dark-cosmos-border-medium.png" size="48" width="200" height="201" darkWidth="200" darkHeight="200" position="center" showCaption="false"}
:::

:::VerticalSplitItem


`cosmos-border-medium`

2px





:::
::::


