Templates
v1.0.0Added in 1.6.0
Terms, privacy, cookie and data processing pages in one template: a document switcher, a plain-English summary and numbered sections.
Switch between Terms, Privacy, Cookies and DPA in the pill row at the top (links to /legal/terms, /legal/privacy...; the thumb slides to the current one). Each document opens with its dates, a Download PDF and a Print action (both open the print dialog unless onDownload / onPrint are set; header, footer and navigation are hidden in print), and a short plain-English summary. On desktop the sticky On this page list follows your reading position and jumps to a section on click; arrow keys, Home and End move between its links. On phones it becomes a pill pinned under the header that shows the current section and opens a bottom sheet with every section. Every section heading has a copy button that copies its link (/legal/privacy#your-rights) and confirms with a check. Links inside the text to another document switch to it. Tables (sub-processors, retention, cookies) turn into one card per row below 768px. The page ends with a contact card: email legal@acme.com, copy the address, or read the postal address. The hero rises in once on mount; reduced motion keeps it still.
npx wingo-ui@latest add legal-pagePro item: the CLI needs a Pro account. See plans