dashboards
API signature with expandable types
An API function reference where every composite type expands in place, pushing the rest of the content with a measured height transition while indentation and a counter track the open depth. The component carries the path of already open types and, on detecting a cycle (a comment containing comments), marks the point as recursive instead of expanding forever and offers an animated jump to the definition above, which is highlighted.
See it live and copy its promptWhat you can adjust
- Max depth
- Accent color
- Recursive marker color
- Primitive types color
- Font size
- Indent per level
- Animation speed
- Field comments
How this catalog works
Every component ships with its reproduction prompt: the text you paste into an AI builder to get exactly this piece. The values above are editable, and the prompt you copy carries the ones you chose, so what gets generated is what you were looking at.
