CardStack - cards that pin one after another and settle into a stack (React)
Scroll effect from studygeorge/parallax-fx.
From prompt to live site
- 01
Copy the code
Grab every file as one text, each carrying its licence notice.
- 02
Paste into your AI
Drop it into Claude, Cursor or v0 — or straight into your own project.
- 03
Launch it live
Adapt the copy, wire your data, and ship — with the notice kept alongside.
Source and licence
Source: studygeorge/parallax-fx@180d79a0f905
Author: 2026 studygeorge
Entry: packages/parallax-fx/src/components/CardStack.tsx
- React component; shares the pfx-core frame loop files listed in paths (per the repo's shadcn registry.json)
MIT License Copyright (c) 2026 studygeorge Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Files (10)
- components/CardStack.tsx (4,480 bytes)
- core/engine.ts (2,748 bytes)
- core/math.ts (1,198 bytes)
- core/pointer.ts (4,910 bytes)
- core/rect.ts (1,675 bytes)
- core/ssr.ts (395 bytes)
- core/stack.ts (1,060 bytes)
- core/types.ts (532 bytes)
- hooks/useInView.ts (1,394 bytes)
- hooks/useReducedMotion.ts (817 bytes)
Want the whole library?
Every item's prompt, code and instructions, with a CreativePower subscription.