Code
How davidhdev/react-bits is laid out, and where to start for common changes.
There is no import map for this report yet.
Where to start reading
- Repository root
- Repository root
- Likely public API
- Likely start-up file
- Likely start-up file
- Suggested starting pointAI
- Suggested starting pointAI
- Suggested starting pointAI
Find files for a task
AIAdd a new animated component
- Add entry to src/constants/Components.js with metadata, category, and export paths
Add a new documentation page
- Add route definition to src/routes/DocsRoutes.jsx mapping URL path and metadata
Add AI export capability for a component
- Ensure component entry in src/constants/Components.js includes all variant paths
- Add AI prompt template in src/utils/aiPrompt.js describing component behavior and props
- Component code generation uses src/utils/aiExport.js to bundle variants for export
- Verify exports via hook src/hooks/useAIExportActions.js in CodeExample component
Add a new framework variant (TypeScript, Tailwind)
- Register variant path in src/constants/Components.js under the component's variants array
- Run 'npm run check:prop-docs' to validate variant exports and prop definitions
Change the public API
Trace runtime behavior
Add or update tests
Change build or automation
RepoPilot lists up to 500 files, so a file missing here may still exist.
- Files marked “likely” are guessed from their names.