I wish there is an equivalent of Storybook for these things though, it would be really nice!
[1] https://templ.guide/