A library of reusable, dependency-free components (well, React is a dependency) that can be reused between Playground webapp, WordPress plugins, WordPress blocks, and the Blueprints builder. For example, the PathMappingControl will make a good fit for all these places.
The components in this package use @wordpress/components
under the hood. Web components were considered for portability, but ultimately weren't used because they:
- Wouldn't have the native WordPress look and feel
- Couldn't easily mix with WordPress components
- Had some issues around focus management
- Run
nx dev playground-components
- Go to http://localhost:5173/
- Play with the widgets and confirm they work intuitively