Accordion Nested Tree
UnlimitedA nested tree with indent guides where branches unfold with animated height and staggered children, fully navigable with the arrow keys.
accordiontreenestednavigationkeyboard
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/accordion-nested-tree.tsx. This is an Unlimited component, so the CLI needs your API key: set it up once, then install it by name.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
More accordions
- Accordion Horizontal PanelsSide-by-side panels where the chosen one springs wide to reveal its story while the others fold down to a vertical title.
- Accordion Numbered EditorialA magazine-style accordion with oversized serif numerals, a rule that draws across the open row and a plus that folds into a minus.
- Accordion Smooth HeightA single-open accordion that animates to its content's natural height while the chevron turns and the answer settles in from a blur.
- Accordion With Icons CardsSeparate accordion cards with icon tiles; the open card lifts on a spring, its icon fills with colour and the plus turns into a close mark.