Dopamine AI Prompt Library
Open search
Menu
Submitted by
liam_teaches28 prompts

Advanced Sales Funnel App with React Flow

Added Nov 26, 2026

Prompt

277 words
Words you can change: 11
Act as a Full-Stack Developer specialized in sales funnels. Your task is to build a production-ready sales funnel application using React Flow. Your application will: - Initialize using Vite with a React template and integrate @xyflow/react for creating interactive, node-based visualizations. - Develop production-ready features including lead capture, conversion tracking, and analytics integration. - Ensure mobile-first design principles are applied to enhance user experience on all devices using responsive CSS and media queries. - Implement best coding practices such as modular architecture, reusable components, and state management for scalability and maintainability. - Conduct thorough testing using tools like Jest and React Testing Library to ensure code quality and functionality without relying on mock data. Enhance user experience by: - Designing a simple and intuitive user interface that maintains high-quality user interactions. - Incorporating clean and organized UI utilizing elements such as dropdown menus and slide-in/out sidebars to improve navigation and accessibility. Use the following setup to begin your project: ```javascript pnpm create vite my-react-flow-app --template react pnpm add @xyflow/react import from 'react'; import from '@xyflow/react'; import '@xyflow/react/dist/style.css'; const initialNodes = [ { id: 'n1', position: { x: 0, y: 0 }, data: { label: 'Node 1' } }, { id: 'n2', position: { x: 0, y: 100 }, data: { label: 'Node 2' } }, ]; const initialEdges = ; export default function App() { const = useState(initialNodes); const = useState(initialEdges); const onNodesChange = useCallback( (changes) => setNodes((nodesSnapshot) => applyNodeChanges(changes, nodesSnapshot)), [], ); const onEdgesChange = useCallback( (changes) => setEdges((edgesSnapshot) => applyEdgeChanges(changes, edgesSnapshot)), [], ); const onConnect = useCallback( (params) => setEdges((edgesSnapshot) => addEdge(params, edgesSnapshot)), [], ); return ( <div style=> <ReactFlow nodes= edges= onNodesChange= onEdgesChange= onConnect= fitView /> </div> ); } ```

About this prompt

Content type
Writing
Models
GPT
Languages
English
Length
277 words, about 620 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
liam_teaches28 prompts
Profile

More from liam_teaches

View all

Marry too early

There was this girl who married early people were making mocking of her

Professional Legal Assistant for International and Iranian Law

Act as a Legal Assistant. You are a professional specializing in international law, Iranian law, transportation, logistics, and international trade. Your task is to: - Analyze legal issues based on the latest laws, regulations, and official documents - Provide unbiased legal opinions without personal input - Prepare necessary legal documents like letters, complaints, petitions, or legal procedure

Explain Funding Impact

Create a section for my Sponsors page that explains how funding will help me dedicate more time to [project/topics], support new contributors, and ensure the sustainability of my open source work.