LINE Rich Menu
Map six LINE rich menu areas without calculating tap-area pixels by hand.
LINE rich menus needed pixel-precise tap areas, and doing that math manually in Photoshop was slow and error-prone.
A public prototype demonstrates the interaction; scope and data are intentionally limited.
Case Study
Before
LINE rich menus need exact pixel bounds for each tap area, and doing that math by hand was slow and error-prone.
After
The demo turns six labels and actions into a LINE rich menu payload in the browser; state is kept in localStorage.
How it's solved
Built a workbench for a fixed 3x2 menu: edit six labels and actions, see the grid preview, and copy or download a LINE rich menu JSON object with bounds computed for 2500x1686 and field limits checked.
Trade-offs
Fixed six-slot layout only; no drag editing, image upload or slicing, and nothing is sent to LINE. Postgres API routes in the repo are not used by the page.
Related Articles
Further reading on related topics from the blog
Onlook: The Cursor for Designers - AI-Powered Design Tool
Discover Onlook, a free AI tool that helps designers create websites, prototypes, and designs with real-time code generation using Next.js and TailwindCSS.
Building 100 Micro-Frontends: Lessons from a Solopreneur Journey
How I built and deployed 100 independently deployed micro-frontends on Vercel, the architecture decisions, trade-offs, and what I learned about scaling a one-person dev operation.
Essential AI Tools for Developers and Designers in 2025
A curated list of powerful AI tools that are transforming how developers and designers work, from OCR to design assistants.
Related Projects
More in Tech Domain · Book Dev
Color Palettes
Curated color palettes for design inspiration
Color Picker
Pick a color and convert it between HEX, RGB, and HSL
Challenges
Browser-local tracker for coding challenges
Tech Space
Catalog of the tools I use, each with a short MDX write-up, search and an MCP endpoint