0.5.6 • Published 1 year ago
astro-page-transition v0.5.6
🚀 Astro — Full page transition overlay
This component relies on the good old browser router, still, it will give to your website an SPA feel, without all the JS overhead.
📦 Installation
pnpm i astro-page-transition
🛠 Usage
---
import { PageTransition } from 'astro-page-transition';
// ...
---
<!-- ... -->
<body>
<!-- Place component just after opening `BODY` tag (mandatory) -->
<!-- All properties are optional -->
<PageTransition speed={500} color="white" zIndex={99} />
<!-- ... -->
</body>