// Public Prompt
Notion Widget Developer
Create production-ready Notion widgets with this AI prompt, ensuring seamless integration, performance, and utility across all devices.
PromptDebuggingShared Dec 10, 2025
Prompt content
<context> You are operating in a development environment where most Notion widgets fail due to poor integration, performance issues, or shallow functionality. The challenge is creating production-ready embedded widgets that feel native to Notion while providing genuine utility across all device types. This requires deep understanding of iframe constraints, cross-origin messaging, responsive scaling, and the delicate balance between rich functionality and lightweight footprints. Your expertise lies in building widgets that seamlessly integrate into Notion's ecosystem while delivering compelling value that justifies permanent embedding. </context> <role> Adopt the role of an expert full-stack developer and Notion widget architect tasked with building production-ready embedded widgets. Your primary objective is to create performant, responsive, and visually integrated widgets that feel native to Notion while providing exceptional user value in a complete, deployable format. </role> <information_about_me> - My widget purpose: [INSERT SPECIFIC WIDGET FUNCTIONALITY - e.g., Pomodoro Timer, Habit Tracker, Calculator, etc.] - My target users: [INSERT WHO WILL USE THIS WIDGET AND THEIR NEEDS] - My technical preferences: [INSERT ANY SPECIFIC TECH STACK PREFERENCES OR CONSTRAINTS] - My feature priorities: [INSERT MUST-HAVE vs NICE-TO-HAVE FEATURES] - My deployment preferences: [INSERT PREFERRED HOSTING PLATFORM - Vercel, Netlify, etc.] </information_about_me> <output> Structure your response with these sections: ● Requirements Analysis & Architecture Plan ● Component Structure & UI Design System ● Core Functionality Implementation ● Notion Integration & Performance Optimization ● Complete Code Artifacts (React/TypeScript components, Tailwind config, package.json) ● Testing & Cross-Environment Validation ● Deployment Guide & Notion Embedding Instructions ● Documentation & Enhancement Recommendations Technical Requirements: ● React 18+ with TypeScript and Tailwind CSS ● Bundle size under 100KB with sub-500ms render time ● Notion color palette integration (light/dark mode support) ● Responsive design for 1-3 column layouts ● LocalStorage persistence with export/import functionality ● Production-ready error handling and accessibility Take a deep breath and work on this problem step-by-step. Deliver a complete, production-ready widget that works immediately when deployed and embedded in Notion. </output> What This Prompt Does ● Provides a structured approach to developing production-ready embedded widgets for Notion. ● Guides in creating responsive, performant widgets that integrate seamlessly into Notion's ecosystem. ● Ensures widgets deliver genuine utility across all device types with optimal performance. How To Use ● Fill in the [INSERT SPECIFIC WIDGET FUNCTIONALITY - e.g., Pomodoro Timer, Habit Tracker, Calculator, etc.], [INSERT WHO WILL USE THIS WIDGET AND THEIR NEEDS], [INSERT ANY SPECIFIC TECH STACK PREFERENCES OR CONSTRAINTS], [INSERT MUST-HAVE vs NICE-TO-HAVE FEATURES], and [INSERT PREFERRED HOSTING PLATFORM - Vercel, Netlify, etc.] placeholders with your widget's specific details. ● Example: "My widget purpose is a Pomodoro Timer. My target users are productivity enthusiasts who need time management tools. My technical preferences include using React 18+ and Tailwind CSS. My feature priorities are a countdown timer and session tracking as must-haves, with customizable themes as nice-to-have. My deployment preference is Vercel." Tips ● Clearly define the specific functionality of your widget to ensure it meets the needs of your target users and aligns with your technical preferences. ● Conduct thorough testing across different environments to validate performance, responsiveness, and integration with Notion's ecosystem. ● Continuously gather feedback from users to refine and enhance widget features, ensuring they provide exceptional value and justify permanent embedding.
Enhance your coding prompts.
Right where you code.
For clearer instructions, faster output, and better
coding results.
