An open API service indexing awesome lists of open source software.

https://github.com/themiu/aos-starter-nextjs-typescript

AOS Starter Template Next.js + TypeScript
https://github.com/themiu/aos-starter-nextjs-typescript

animate-on-scroll aos nextjs starter template typescript

Last synced: 3 months ago
JSON representation

AOS Starter Template Next.js + TypeScript

Awesome Lists containing this project

README

          

# AOS + Next.js + TypeScript Template

## Getting Started

### Clone and Run

```bash
npm install
```

### Without Clone Steps

1. **Install AOS**:

```bash
npm install aos
```

2. **Import AOS in your `page.tsx`**:

```typescript
import AOS from "aos";
import "aos/dist/aos.css";
```

3. **Initialize AOS in `useEffect`**:

```typescript
useEffect(() => {
AOS.init({ duration: 1000 });
}, []);
```

4. **Add AOS to your elements**:

```typescript


{/* Content */}

```
---
More : https://michalsnik.github.io/aos/