devkit-console-ui
v0.2.0
Published
React hooks and components for DevKit Console
Readme
@devkit-console/react
React hooks and components for DevKit Console UI integration.
Install
npm install @devkit-console/core @devkit-console/reactQuick Start
import { DebugPanel } from '@devkit-console/react';
export function App() {
return (
<>
<YourApp />
<DebugPanel position="bottom-right" />
</>
);
}Components
<DebugPanel>— Floating debug panel with full UI<LevelSelector>— 5-pill level selector<LogViewer>— Scrollable log list with filters<StatusBadge>— Small status indicator
Hooks
useDebugConfig()— Current config, re-renders on changesuseLogHistory(filters?)— Filtered logs, real-time updatesuseLogger(namespace)— Memoized namespace logger
See docs/API.md for complete reference.
