I'll recreate this Ecomflow stock inventory management UI as accurately as possible using Next.js and Tailwind CSS.
I've recreated the Ecomflow stock inventory management UI as shown in the Figma frame. The implementation includes:
Left Sidebar:
Main Content:
Data Table:
Interactive Elements:
The implementation follows a clean, professional design with attention to details like:
You can now preview and interact with this UI. The table is fully structured with all the elements from the original design, including the status badges, action buttons, and the informational tooltip that appears for the "Packing list received" row.
What do we want to build
Stock Co-Pilot acts like a cockpit for brand owners—showing them exactly what to order and when. It’s all about giving them full insights, they can see everything at a glance and make smart decisions without the stress.
How it works
Stock Levels: You can see exactly how many items you have left to sell for every product
Reorder Alerts: The system looks at how fast your products are selling and how long your factory takes to deliver (lead time). It adds a little extra time as a safety buffer, then tells you when it’s time to place a new order so you don’t run out of stock.
Days Left: It calculates how many days of sales you have before your stock hits zero, based on your current sales pace. For example, if you’re selling 10 units a day and have 50 left, it’ll say “5 days.”
Featuring Best Sellers: Your top-selling products get highlighted in the dashboard. This lets you quickly see what’s moving fastest and prioritize keeping those items in stock.
Peak Expectations: You can set up alerts for busy sales periods—like Mother’s Day, Black Friday, Christmas, Valentine’s Day, or a big summer sale. Tell the system when these events are and how much extra stock you expect to need (e.g., 50% more sales), and it’ll tweak the reorder alerts and days-left estimates to make sure you’re ready for the rush.
Featuring Best Sellers: Your top-selling products get highlighted in the dashboard. This lets you quickly see what’s moving fastest and prioritize keeping those items in stock, since they’re the ones driving your sales.
Auto-Reorder (Later Addition): Eventually, we’ll add a button that writes a reorder message for you. You can choose how much stock to order—like enough for 1 month, 2 months, or a custom amount you type in. Once you approve it, we draft the message you can send to the factory.
Analytics Dashboard: You’ll get a clear view of everything—stock levels, sales trends, and reorder needs—split up by product and factory. It’s all in one place, easy to understand.
Also above but I think the most important data for the quick analytics insights:
Bestsellers tab:
I'll create a Stock Co-Pilot dashboard based on your requirements. This will be a comprehensive inventory management system that gives brand owners clear insights into their stock levels, reordering needs, and sales performance.
I've created a comprehensive Stock Co-Pilot dashboard that addresses all the requirements you specified. This dashboard serves as a "cockpit" for brand owners, providing them with clear insights into their inventory management needs.
Stock Level Monitoring
Reorder Alert System
Days Left Calculations
Best Sellers Highlights
Peak Period Planning
Analytics Dashboard
The dashboard is organized into four main tabs:
This interface gives brand owners everything they need to make smart inventory decisions without the stress, helping them avoid stockouts of critical products while optimizing their inventory investment.