rsnext/examples/with-particles
Steven be904d79ac
Open deploy link in new window for examples (#40804)
Let's open the deploy link in a new window so the link isn't blocked
when running an an iframe, such as Stackblitz.

Previously, this would print the following error:

> Refused to display 'https://vercel.com/' in a frame because it set
'X-Frame-Options' to 'deny'
2022-09-22 09:33:36 -07:00
..
components
pages Open deploy link in new window for examples (#40804) 2022-09-22 09:33:36 -07:00
public
styles
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
next-env.d.ts
next.config.js
package.json
README.md
tsconfig.json

tsParticles Example

This example shows a Next.js application using React tsParticles package for creating beautiful particles animations.

Learn more about tsParticles in the docs.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-particles with-particles-app
# or
yarn create next-app --example with-particles with-particles-app
# or
pnpm create next-app -- --example with-particles with-particles-app

Deploy it to the cloud with Vercel (Documentation).