# Quick jump
## [Widgets](#widgets)
[div](#div-widget), [label](#label-widget), [rectangle](#rectangle-widget), [sprite](#sprite-widget)
## [Built-in components](#components)
[Button](#button-component), [Slider](#slider-component), [CheckBox](#checkbox-component)
## [Examples](#examples)
[Simple layout](#simple-layout)
[Value substitution (themes)](#value-substitution-themes)
[File inclusion](#file-inclusion)
[Macros](#macros)
[Templates](#templates)
# Universal widget attributes
_They can be used in any widget/component._
`display`: "flex" | "block" | "grid"
`position`: "absolute" | "relative"
`flex_grow`: **float**
`flex_shrink`: **float**
`gap`: **float** | **percent**
`flex_basis`: **float** | **percent**
`justify_self`: "center" | "end" | "flex_end" | "flex_start" | "start" | "stretch"
`justify_content`: "center" | "end" | "flex_start" | "flex_end" | "space_around" | "space_between" | "space_evenly" | "start" | "stretch"
`flex_wrap`: "wrap" | "no_wrap" | "wrap_reverse"
`flex_direction`: "row" | "column" | "column_reverse" | "row_reverse"
`align_items`, `align_self`: "baseline" | "center" | "end" | "flex_start" | "flex_end" | "start" | "stretch"
`box_sizing`: "border_box" | "content_box"
`margin`, `margin_left`, `margin_right`, `margin_top`, `margin_bottom`: **float** | **percent**
`padding`, `padding_left`, `padding_right`, `padding_top`, `padding_bottom`: **float** | **percent**
`overflow`, `overflow_x`, `overflow_y`: "hidden" | "visible" | "clip" | "scroll"
`min_width`, `min_height`: **float** | **percent**
`max_width`, `max_height`: **float** | **percent**
`width`, `height`: **float** | **percent**
### Advanced attributes
`interactable`: "1" | "0"
_Set to 0 if you want to exclude this widget from altering the event state_
`consume_mouse_events`: "1" | "0"
_Used in case of overlapping pop-ups or windows, most notably applied to various backgrounds_
`new_pass`: "1" | "0"
_Set to 1 if you want to render overlapping pop-ups to properly render your widgets in order. Wgui renders with as few Vulkan drawcalls as possible, so this is your responsibility._
# Widgets
## div widget
### `
`
### The most simple element
#### Parameters
_None_
---
## label widget
### `