Socket
Book a DemoInstallSign in
Socket

@djangocfg/playground

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@djangocfg/playground

Interactive component playground for exploring and testing DjangoCFG UI libraries

latest
Source
npmnpm
Version
2.1.1
Version published
Maintainers
1
Created
Source

@djangocfg/playground

Interactive component playground for exploring and testing DjangoCFG UI libraries

npm version License: MIT

Part of DjangoCFG — a modern Django framework for building production-ready SaaS applications. All @djangocfg/* packages are designed to work together, providing type-safe configuration, real-time features, and beautiful admin interfaces out of the box.

An interactive environment for exploring and testing React components from the DjangoCFG UI library ecosystem.

Features

  • Three-Panel Layout — Navigation, Preview, and Properties panels for efficient component exploration
  • Fixture-Based — Each component has a fixture with live preview, code examples, and props documentation
  • Interactive Controls — Modify component props in real-time using useValue, useSelect, useBoolean hooks
  • Responsive Preview — Test components in Desktop, Tablet, and Mobile viewports
  • AI-Ready Export — Copy all component documentation for AI assistants (Claude, ChatGPT)
  • Mobile Optimized — Adaptive layout with sheet panels for mobile devices
  • Type-Safe — Full TypeScript support with exported types

Installation

pnpm add @djangocfg/playground

Components

PlaygroundApp

Main entry point that renders the complete playground interface with all panels and functionality.

Root

Core layout component providing the three-panel architecture with resizable panels and mobile adaptation.

Panels

  • NavPanel — Left sidebar with searchable component tree organized by categories
  • PreviewPanel — Center area with live component preview, code tab, and viewport controls
  • ControlPanel — Right sidebar with interactive props controls and component metadata

HomeOverlay

Landing page shown when no component is selected, featuring library overview and category navigation.

Hooks

  • useValue — Text input control for string props
  • useNumber — Number input with slider for numeric props
  • useSelect — Dropdown for enum/union type props
  • useBoolean — Toggle switch for boolean props
  • useColor — Color picker for color props
  • useDrag — Panel resize functionality

Documentation

Full documentation available at djangocfg.com

Contributing

Issues and pull requests are welcome at GitHub

License

MIT - see LICENSE for details

Keywords

playground

FAQs

Package last updated on 05 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts