Skip to content

Count page views and project clicks with PostHog (EU servers)? It loads only if you choose Allow. Privacy

LINE Rich Menu live preview
All projects

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.

Tech Domain · Book Dev|Published|Evidence: Prototype|Next.js, TypeScript

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

Related Projects

More in Tech Domain · Book Dev