Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

view-transitions

/view-transitions

Dodaje animacje przejść między stronami, efekty rozwinięcia obrazów i wspólne elementy w aplikacjach jedno- i wielostronicowych.

Licencja
MIT
Ostatnia zmiana repozytorium
06.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dodaje animacje przejść między stronami, efekty rozwinięcia obrazów i wspólne elementy w aplikacjach jedno- i wielostronicowych.

Oryginalny opis (EN)

Use when adding page transition animations, image expand/contract effects, shared-element transitions, or improving navigation UX in a single-page or multi-page application.

Jak działa

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Sekcje z nagłówków SKILL.md, w oryginale · 35 linii, 219 słów
Podgląd SKILL.md
---
name: view-transitions
description: "Use when adding page transition animations, image expand/contract effects, shared-element transitions, or improving navigation UX in a single-page or multi-page application."
metadata:
  category: css
  priority: low
  difficulty: intermediate
  estimatedTime: "30"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/css/view-transitions
---

# Use the View Transitions API for smooth page and component transitions

Jarring instant page changes are one of the most noticeable perceived- performance problems in web applications. Smooth transitions help users maintain context during navigation — they understand where they came from and where they are going. Previously, achieving this required complex JavaScript animation libraries; the View Transitions API delivers it natively at a fraction of the code cost.

## Quick Reference

- Wrap DOM mutations in document.startViewTransition() for same-page transitions
- Add view-transition-name to elements that should animate individually (not the whole page)
- Use @starting-style and ::view-transition-* pseudo-elements to customise animations
- Enable cross-document transitions in CSS with @view-transition { navigation: auto }

## Check

Check whether the site uses the View Transitions API or a JavaScript animation library for page and component transitions.

## Fix

Implement view transitions using document.startViewTransition() for SPA route changes or @view-transition for MPA cross-document navigation.

## Explain

Explain how the View Transitions API captures before/after snapshots and animates between them, and how view-transition-name enables shared-element transitions.

## Code Review

Review transition implementation for missing prefers-reduced-motion guards, duplicate view-transition-name values (must be unique per snapshot), and transitions that may cause layout thrash in the old/new state.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/css/view-transitions
Pliki w paczce (2)
  • SKILL.md 2 KB
  • references/rule.md 7 KB

Wersje

W bazie nie ma innych skilli o nazwie view-transitions.

Migawka bazy z 13.11.2026 · wersja paczki 5767af00dcfd (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95vercel-react-view-transitions
    Pomaga dodawać płynne animacje przejść w React przez View Transition API: przejścia stron, wspólne elementy i zmiany kolejności listy.
  • 100vercel-react-view-transitions
    Pomaga dodać płynne animacje przejść w React przez ViewTransition, w tym nawigację wstecz i elementy współdzielone.
  • 100vercel-react-view-transitions
    Pomaga wdrożyć płynne przejścia widoków w React przez komponent ViewTransition, animacje tras i elementy wspólne.
  • 100trove-react-view-transitions
    Wdraża płynne animacje przejść w React przez View Transition API, bez zewnętrznej biblioteki animacji.
  • 95vercel-react-view-transitions
    Prowadzi przez dodanie animacji przejść stron i zmian listy w React przy użyciu API View Transition.
  • 100vercel-react-view-transitions
    Wyjaśnia i wdraża animacje wejścia, wyjścia i zmiany kolejności komponentów w React przez View Transition.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.