---
description: About The Spacer Tag
---

# \<spacer>

```html
<widget>
  <spacer space="5"/>
</widget>
```

The `<spacer>` element defines a widget spacer element. It is a self-closing tag, meaning you do not need a second closing tag but it must be marked with a forwardslash at the end.

### **Attributes**

**space - posInt**

Defines the space of the spacer. If the value is empty or not provided, the space automatically sizes. This attribute cannot be set with css.
