MOTION PALETTE
← 検索結果に戻るモーション図鑑 / 8-22

Sliding Tab Indicator

タブ・インジケータ滑走

タブ切替時、下線や背景ピルが選択位置へぬるっと滑走移動する

FORM / WORKSPACE
01

日常に、静かな輪郭を。

暮らしの中でこそ、美しさが伝わる。

MADE FOR EVERYDAYEST. 2026

再生で動きを確認。もう一度見るときは「最初から再生」を押してください。

こんな場面に

操作できる場所と、操作した結果をすぐに伝えたいとき。

使うときの判断

動きでクリック対象を逃がさない。キーボードとタッチでも同じ操作を完了できるように。

IMPLEMENTATION

実装レシピ

JSでoffsetLeft/widthを測り共有バーをtranslate。View Transitions APIなら自動モーフ(→A-6)

実装難易度
実装の目安
JS軽量 / View Transitions
収録範囲
説明・指示書(実装例コードは未同梱)

同梱の実装例は、組み込み先で表示・操作を確認してください。

記述の近い参考サイト

調査メモの関連語から抽出しています。採用技法の確認には元の調査記録と実際のサイトを参照してください。現在の表現は調査時点と異なる場合があります。

YOUR PROMPT

調整した値を確認する

実装指示書の全文を開く
Implement the following web visual TECHNIQUE as a small, self-contained demo (single HTML file, inline CSS/JS; GSAP via CDN is allowed if it fits the recipe). Invent your own placeholder content (original text/shapes/colors) — do NOT copy any existing site's content or branding.

## Technique: Sliding Tab Indicator (タブ・インジケータ滑走)

What happens: タブ切替時、下線や背景ピルが選択位置へぬるっと滑走移動する

## Implementation recipe (normative)

JSでoffsetLeft/widthを測り共有バーをtranslate。View Transitions APIなら自動モーフ(→A-6)

## Timing values chosen by the user (normative — use these exact values)

- Easing: `cubic-bezier(0.22, 1, 0.36, 1)`
- Base duration: 2.60s
- Intensity 1/5: Keep amplitudes minimal (2-8px movements, opacity-led, no overshoot) — the motion should be barely-there and elegant.

## Quality bar

- Runs at 60fps; animate only transform/opacity/filter where possible.
- Make the initial state legible immediately. Preserve the full timing above, including deliberately slow transitions. Repeat only when the recipe calls for a loop; give finite effects a clear ending and replay action.
- Respect prefers-reduced-motion: show a legible resting state without autoplay. Keep every operation available through keyboard and touch; allow deliberate playback of the effect for inspection.
- Difficulty reference: 中. If the recipe mentions specific libraries or shader work, follow it rather than substituting a simpler approach.

コピーできない環境では、指示書を選択・保存する画面が開きます。