---
title: "LemonadeJS Attributes | v5 docs"
description: "LemonadeJS v5 archive. Learn how to pass variables as attributes in LemonadeJS using special attributes and reference attributes."
source: https://lemonadejs.com/docs/v5/attributes/
---

# Attributes

LemonadeJS allows you to pass variables as attributes to components and HTML elements. There are two main types: special attributes and reference attributes.

## Attribute Syntax

```html
<div visible={true}></div>
<div visible="${true}"></div>
<div :visible="true"></div>
<div lm-visible="true"></div>
```