react-blueprint-view
v1.0.4
Published
A lightweight visual wireframe/blueprint view for React apps.
Maintainers
Readme
React Blueprint View
A lightweight visual wireframe/blueprint view for React apps.
React Blueprint View helps you instantly visualize the DOM structure of your React application — transforming your UI into a clean blueprint-style view for design inspection and debugging.

Installation
npm install react-blueprint-view
yarn add react-blueprint-view
pnpm add react-blueprint-view
Usage
import { BlueprintProvider } from "react-blueprint-view";
export default function App() {
return (
<BlueprintProvider showToggle={true}>
<YourApp />
</BlueprintProvider>
);
}Toggle Button is visible by default. You can hide or show it using the showToggle prop.
You can also control the toggle using the useBlueprint hook:
import { BlueprintProvider, useBlueprint } from "react-blueprint-view";
function CustomToggle() {
const { enabled, toggle } = useBlueprint();
return <button onClick={toggle}>{enabled ? "ON" : "OFF"}</button>;
}
“Image and video elements are excluded, meaning their content will remain visible while the blueprint is active.”
Contributing
Found a bug or want to add a feature? Contributions are welcome!
- 🍴 Fork it
- 🌟 Star it (pretty please?)
- 🔧 Fix it
- 📤 PR it
- 🎉 Celebrate!
Please ensure your code follows the existing style and includes clear commit messages.
License
This project is licensed under the MIT License – see the LICENSE file for details.
Credits
“Built by Isaac Anasonye to analyze layouts and simplify debugging of messy designs.”
Debugged a layout with React Blueprint?
⭐ Star on GitHub | 📢 Share on Twitter | 💬 Join the Discussion | 🔗 Connect on LinkedIn
