Simply reference the file in your conversation. Most AI coding tools support file references.
Claude Code / Cursor
Just type @BOX_AI_CONTEXT.md in your prompt or say "Read the BOX_AI_CONTEXT.md file"
GitHub Copilot Chat
Attach the file to your conversation or paste the content
ChatGPT / Claude Web
Copy and paste the file content into your first message
3
Start coding
Your AI assistant now understands React Box deeply. Just describe what you want to build.
Example prompt:
"Create a responsive card component with a header, body, and footer. It should have a subtle shadow, rounded corners, and look good in both light and dark themes."
What's inside BOX_AI_CONTEXT.md?
Complete prop reference
All 212 props with their CSS mappings and accepted values
Critical gotchas
Like fontSize using divider 16 (not 4) - saves hours of debugging
Component catalog
All pre-built components: Flex, Grid, Button, Textbox, and more
Theme system
How to create light/dark themes with nested pseudo-classes
Common patterns
Ready-to-use code snippets for cards, layouts, forms
Extension system
How to add custom colors, props, and components
Pro tip: Keep it in your project root
Copy BOX_AI_CONTEXT.md to your project root. This way, AI tools like Cursor and Claude Code will automatically include it in their context when you work on your project. No need to reference it every time!
That's it. Seriously.
Your AI assistant is now a React Box expert. Go build something amazing.