Welcome to Fizzi, an interactive, animated soda can experience built with Next.js, Three.js (via React Three Fiber), and Prismic.
This project leverages the Prismic + Next.js Minimal Starter and adds custom 3D components, smooth animations, and CMS-powered content management.
π Click Here to Explore Fizzi πΉ β A Soda Experience Like No Other!
-
Create a Prismic Repo:
- Go to Prismic Dashboard
- Click Create New Repository
- Choose Next.js + Minimal Starter
- Complete setup steps
-
Clone this Project:
git clone https://github.com/Itssanthoshhere/Fizzi.git cd fizzi -
Install Dependencies:
npm install
-
Start the Development Server:
npm run dev
| File/Component | Description |
|---|---|
Bounded.tsx |
Responsive layout wrapper with consistent padding |
Button.tsx |
Prismic-connected styled button |
FizziLogo.tsx |
Custom animated SVG logo with masking |
CircleText.tsx |
Animated spinning circular text SVG |
TextSplitter.tsx |
Splits and animates text character by character |
SodaCan.tsx |
3D soda can rendered with Three.js (supports flavor textures) |
FloatingCan.tsx |
Floating soda can using Dreiβs <Float> wrapper |
Header.tsx |
Top navigation bar with logo |
Footer.tsx |
Footer with rotating SVG and branding |
ViewCanvas.tsx |
Canvas for rendering 3D elements using React Three Fiber |
- β Realistic 3D soda can (multiple flavors)
- β Floating animations with Drei
- β Content managed via Prismic
- β Slice-based editable pages
- β Fully responsive design
- β Animated SVG and text effects
- Go to your Prismic Dashboard
- Click the βοΈ icon to create a Page
- Add slices like rich text, images, or custom slices
- Publish to view the page live at
/your-page-slug
This project supports Prismicβs Preview Mode locally. For preview setup in production, see: π Preview Drafts in Next.js
| File | Purpose |
|---|---|
prismicio.ts |
Prismic client setup |
app/page.tsx |
Homepage rendering with UID "home" |
app/[uid]/page.tsx |
Dynamic page rendering based on UID |
app/layout.tsx |
Layout wrapper and providers |
slices/*/index.tsx |
Slice component renderers |
Deploy easily with Vercel or any cloud provider: π Deploy a Next.js App
Feel free to connect if you enjoyed the project or have feedback!
This project is for educational purposes only and is not affiliated with or endorsed by Prismic, Next.js, or any other third-party tools mentioned.
- How I Built a 3D Soda Can Website Using Three.js & Prismic by Prismic
πΊ Watch on YouTube
All trademarks and assets belong to their respective owners.
Created with β€οΈ using Prismic, Next.js & Three.js β customized by Santhosh VS