Phoenix Storybook: a storybook-like UI interface for Phoenix components

If you’re using a different css file, ofcourse you need to compile it as well with assets.deploy:
"assets.deploy": ["tailwind default --minify", "tailwind storybook --minify", "esbuild default --minify", "phx.digest"],

1 Like

Released 0.7.2 with support for local_icons plus color_mode & icon related bugfixes

1 Like

Rendering the source code for a full component module could be too lengthy and slow (think core_components.ex with a lot of function components in a single module)

You can now decide, per story, to render only your function’s source code.

Shipped, but not released yet.

Released 0.8.0 with a lot of stuff regarding components, attributes, and slots documentation :rocket:

Function documentation is properly rendering markdown:


Attribute and slots documentation is rendering markdown and can be expanded when written on multiple lines.


It also features a new HTML preview tab for function components


:warning: it now requires phoenix_live_view 1.0.0


Full changelog 👇
5 Likes

0.8.1 is out, this is the first release ever for which I didn’t produce a single line of code.
Thank you @xxdavid @cschmatzler @sodapopcan for your contributions! :pray:

Changelog:

6 Likes