When building a web application with web components, you might want a way to preview your components outside of the app (makes rendering edge-cases and hard to reach states much easier). Storybook is a common option, but it can be complicated to setup and maintain.
Instead, you can create a simple HTML file for each component, e.g MyComponent.preview.html
:
<!DOCTYPE html>
<title>My Component Preview</title>
<script type="module" src="./MyComponent.js"></script>
<my-component></my-component>