wms-react-components

Provide React components for editing warehouse maps with interactive layers.

6|3|Updated Apr 8, 2022
One-click install
npx skills add https://github.com/Rytass/Utils --skill wms-react-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wms-react-components
Source: https://github.com/Rytass/Utils/tree/main/.claude/skills/wms-react-components
Command: npx skills add https://github.com/Rytass/Utils --skill wms-react-components

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a modular React component library to design and edit warehouse maps, enabling interactive floor plans, location visualization, and spatial management without building the UI from scratch.

Core Features & Use Cases

  • WMSMapModal for map editing and viewing; supports multiple layers, backgrounds, and draggable regions.
  • Data structures and types for Map, MapBackground, MapRectangleRange, and MapPolygonRange to model warehouse layouts; compatible with React and TypeScript.
  • Use cases include warehouse floor-plan editing, asset placement visualization, and multi-level zoning with undo/redo support via the internal history hooks.

Quick Start

Install the library in a React project using npm or yarn, then import and render the WMSMapModal component. Provide initial map data or load from an API, and optionally wire up onUpload handlers for asset management. Example steps: npm install @rytass/wms-map-react-components @xyflow/react, import { WMSMapModal } from '@rytass/wms-map-react-components', render with required props like open and onClose.

Frequently Asked Questions about wms-react-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an interactive warehouse map in React?

Build an interactive warehouse map in React by rendering the WMSMapModal component with initial map data, leveraging its TypeScript-friendly API to manage layers, backgrounds, and draggable spatial regions.

What is the best way to visualize warehouse locations and floor plans in a React application?

Visualize warehouse locations and floor plans by rendering map components that support multi-layer management and direct manipulation of spatial elements using structured data types for rectangles and polygons.

Does this React warehouse map component support multi-layer floor-plan editing?

Yes, it supports multi-layer floor-plan editing by providing interactive layers, background management, and internal history hooks that enable undo and redo operations during direct map element manipulation.

Do I need XYFlow or ReactFlow to render warehouse maps?

Yes, you need to install @xyflow/react because it provides the underlying rendering engine required for the warehouse map components to handle direct node manipulation and interactive spatial elements.

Can I use TypeScript to model warehouse layouts and spatial ranges?

Yes, you can use TypeScript to model warehouse layouts. The library exposes TypeScript-friendly data structures including Map, MapBackground, MapRectangleRange, and MapPolygonRange to define spatial regions and zones.

How do I handle asset uploads when editing a warehouse floor plan?

Handle asset uploads during warehouse floor-plan editing by wiring up optional onUpload handlers in the WMSMapModal component, enabling direct asset management and reference loading within the map interface.