flip-card
Skill0 starsChanged 4 months agoMITView on GitHub
3D CSS flip card with front/back faces, neon banner CTA, and smooth Y-axis rotation. Supports custom content on both sides with different color themes. React + Framer Motion compatible.
In this repository37 other files it gives its agents.
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- vercel-composition-patterns/AGENTS.mdAGENTS.md
- senior-frontendSkill
- vercel-composition-patternsSkill
- bento-designSkill
- fanned-cardsSkill
- floating-quotesSkill
- githubSkill
- glassmorphism-uiSkill
- gmail-proxySkill
- googleSkill
- hippocampusSkill
- html-pdf-exportSkill
- iframe-previewSkill
- infinite-canvasSkill
- matrix-textSkill
- nextjs-apiSkill
- nextjs-expertSkill
- pinterestSkill
- railway-deploySkill
- remotion-videoSkill
- scramble-textSkill
- scroll-video-heroSkill
- senior-frontendSkill
- SEOSkill
- ship-websiteSkill
- sound-engineSkill
- stripe-best-practicesSkill
- tilt-cardSkill
- tube-summarySkill
- upload-postSkill
- vercel-composition-patternsSkill
- vercel-deploySkill
- vercel-react-best-practicesSkill
- vertical-fanned-cardsSkill
- video-contentSkill
- war-roomSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Remove rounded-top on cards when banner sits above them
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flip Card
A 3D card that flips on click to reveal a second face. Features a prominent neon banner CTA across the top that changes text/color based on state.
When to Use
- Before/after comparisons
- Problem vs solution presentation
- Pricing: current vs proposed
- Any two-sided content reveal
Architecture
- CSS
perspective+rotateY(180deg)for true 3D flip backfaceVisibility: hiddenon both faces- Front face determines card height, back face is
absolute inset-0 - Neon banner above card handles flip trigger (not subtle corner links)
- Banner text toggles: "Tap to see the future ✦" / "← Tap to go back"
- Animated shine sweep on banner via CSS keyframes
Props
| Prop | Type | Description |
front | ReactNode | Front face content |
back | ReactNode | Back face content |
frontAccent | string | Top gradient color for front (e.g. red) |
backAccent | string | Top gradient color for back (e.g. cyan) |
frontBannerText | string | Banner CTA when showing front |
backBannerText | string | Banner CTA when showing back |
Key Lessons
- Back face needs
overflow-y-autoor front needsmin-heightto prevent content clipping on mobile - Remove
rounded-topon cards when banner sits above them - Banner with animated shine sweep is far more discoverable than a subtle corner link
- The whole card should be clickable, not just the banner
Reference Implementation
See reference/FlipCard.tsx for the complete component.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

