Command Palette
Search for a command to run...
Loading component...
Debug Pannel
A simple debug component that accepts any object and prints it out on the screen, best to debug your code, instead of using console.logs everywhere for the interaction try this paste any prop and see the live plus it also accepts framer motion values so you dont need to render this component if the type changes
Dependencies
Interaction Type
| View debug information |
npx shadcn add @skiper-ui/skiper102How to use
import { Skiper102, DebugPanel } from "@/components/v1/skiper102"; import { useMotionValue } from "motion/react"; import { useState } from "react"; // Using the demo component const DemoSkiper102 = () => { return ( <div className="h-screen w-full"> <Skiper102 /> </div> ); }; // Using DebugPanel directly const CustomDebug = () => { const mouseX = useMotionValue(0); const mouseY = useMotionValue(0); const [count, setCount] = useState(0); return ( <div onMouseMove={(e) => { mouseX.set(e.clientX); mouseY.set(e.clientY); }} onClick={() => setCount((prev) => prev + 1)} > <DebugPanel mouseX={mouseX} mouseY={mouseY} count={count} /> </div> ); };
Props | Description |
|---|---|
className | Additional CSS classes |
...props | Any object to debug |
Important note
- Accepts any object or motion values to display
- Automatically formats motion values for display
- Useful for debugging during development
- Position with className for custom placement
Source code
Click on the top right to view the source code
Keep in mind
Most components here are recreations of the best out there. I don't claim to be the original creator. This is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone, but if I missed something, let me know.
Contact
Additionlly, if you find any bug or issue, feel free toDrop a dm.
License & Usage:
- Free to use and modify in both personal and commercial projects.
- Attribution to Skiper UI is required when using the free version.
- No attribution required with Skiper UI Pro.