···10101111You can use chilp as any Lustre component, the main module has an easy builder which allows you to input typed `Anchors` (links to posts from which we fetch comments) instead of using attributes. If you prefer, you could also use `widget.element()` or create a Chilp widget yourself using element.element. As long as `widget.register()` is ran Chilp should be able to pick it up.
12121313+Also see [Styling Chilp](https://hexdocs.pm/chilp/styling.html)!
1414+1315### Examples
14161517- [lustre_chilp_app](https://tangled.org/strawmelonjuice.com/chilp/tree/main/examples/lustre_chilp_app)
+1-4
docs/styling.md
···1010@plugin "daisyui";
1111@source "./build/packages/chilp/src/chilp/widget.gleam";
1212```
1313-```
1414-```
15131614Try something like the above. You could of course also point to the `build/dev/javascript`, especially if you work with a path dependency (in which case the `widget.gleam` file won't be in `./build/`).
1715···7169 content: "itchsky";
7270 }
7371}
7474-7572```
76737774But with this, Oat can fully style Chilp widgets as well!
78757979-## Vanilla CSS
7676+## Styling with vanilla CSS
80778178If you'd like to not use DaisyUI or OatUI, styling the widget yourself is very viable, all elements are queryable using css classes.
8279