0..1
StringProgress
把 timeline 當成版面狀態
Section 透過 CSS variables 暴露 progress,讓字體、縮放、透明度與 mask 不用 React scroll state 都可回應。
--progress
一個更接近官方 promo site 手感的 StringTune route:大型 split text、declarative scroll timelines、parallax layers 與 cursor-lit controls。
Section 透過 CSS variables 暴露 progress,讓字體、縮放、透明度與 mask 不用 React scroll state 都可回應。
標題先切成 words 與 chars,再用生成的 index 在 CSS 內做 staggered entrance 與 scroll emphasis。
互動按鈕讀取 StringTune 的 pointer angle 與 distance,再用純 CSS 畫出局部 glare layer。
StringTune 量度 element 經過 viewport 的 travel。
runtime 會把 eased CSS variable 寫到 source element。
設計再消費這個 variable 去控制 mask、transform 與節奏。
React 可以保留 `string` custom DOM attribute。重點是 StringTune 要看見 `[string]`,settings 則可用 `string-*` 或 `data-string-*`。
因為 StringParallax 會寫 inline transform,額外 CSS transform 要放在 child 或 wrapper,而不是 parallax node。
互動質感來自 CSS 消費 public variables,而不是加更多 component state。