Each component gets a page with its states, called stories: the primary button, the disabled one, the loading one. You see and tweak each variation without depending on an API, a login or an app route, and the controls panel changes props live.
Since version 9, every story can also become a test: interactions with the play function running on Vitest, accessibility with axe-core and a coverage report. Docs come from the stories themselves, with the props table built from types or, for Web Components, from custom-elements.json.
It is maintained by Chromatic, which sells visual testing as a paid service above a free quota. Everything else is MIT and runs locally. It pays off more in a design system shared by several teams than in a handful of components for a single app.