`. The naming is borrowed
from the web because the mental model is similar.
---
## The Tailwind-inspired DSL
Each layout method returns the same builder, so you can chain them:
```rust
div().flex().flex_col().items_center().gap_6()
```
is the same kind of code as
```html
```
— but type-checked, autocompleted, and refactorable.
A non-exhaustive lookup table is on the [Tailwind bridge](../12-tailwind-bridge.md)
slide.
---
## gpui-component's `init(cx)`
```rust
gpui_component::init(cx);
```
This **must** run before you use any `gpui_component` widget. It registers
the theme, key bindings, notification and tooltip globals. Skip it and
widgets like `Tag` will panic with confusing errors.
---
## Further reading
- gpui in the Zed repo:
- gpui-component repo: