Introduction
Live playground
These controls are the package. Theme is a local signal shared with the header. The note is session storage. Consent is a cookie. Reload the tab to see which values survive.
local · theme
Key docs.theme. Same signal as the header menu.
local · visits
Survives reload. Other tabs update this number.
0
session · note
Cleared when this tab closes. Not shared across tabs.
cookie · consent
180 days, path /, SameSite Lax. Not HttpOnly.