@istmx/skills 1.2.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +134 -40
- package/RELEASE_v2.1.0.md +69 -0
- package/bin/cli.js +95 -91
- package/context/conversation_transcript.md +768 -0
- package/context/progress.md +121 -0
- package/istm/SKILL.md +20 -11
- package/istm-animate/SKILL.md +46 -33
- package/istm-animate/core/motion-principles/SKILL.md +284 -0
- package/istm-animate/core/motion-principles/references/designers.md +127 -0
- package/istm-animate/core/motion-principles/references/easing-guide.md +231 -0
- package/istm-animate/core/motion-principles/references/enter-exit-recipes.md +466 -0
- package/istm-animate/frameworks/canvas-generative/SKILL.md +325 -0
- package/istm-animate/frameworks/canvas-generative/references/algorithms.md +925 -0
- package/istm-animate/frameworks/css-native/SKILL.md +319 -0
- package/istm-animate/frameworks/css-native/references/modern-css.md +465 -0
- package/istm-animate/frameworks/framer-motion/SKILL.md +187 -0
- package/istm-animate/frameworks/framer-motion/references/api.md +312 -0
- package/istm-animate/frameworks/gsap/SKILL.md +188 -0
- package/istm-animate/frameworks/gsap/references/core.md +218 -0
- package/istm-animate/frameworks/gsap/references/plugins.md +371 -0
- package/istm-animate/frameworks/gsap/references/scrolltrigger.md +325 -0
- package/istm-animate/frameworks/gsap/references/timeline.md +218 -0
- package/istm-animate/frameworks/threejs-r3f/SKILL.md +243 -0
- package/istm-animate/frameworks/threejs-r3f/references/scene-setup.md +392 -0
- package/istm-animate/frameworks/threejs-r3f/references/shaders.md +446 -0
- package/istm-animate/mobile/android/compose-graphics/SKILL.md +503 -0
- package/istm-animate/mobile/android/compose-graphics/references/agsl-recipes.md +356 -0
- package/istm-animate/mobile/android/compose-graphics/references/canvas-generative.md +282 -0
- package/istm-animate/mobile/android/compose-graphics/references/m3-expressive-deep.md +303 -0
- package/istm-animate/mobile/android/compose-motion/SKILL.md +359 -0
- package/istm-animate/mobile/android/compose-motion/references/gestures-compose.md +273 -0
- package/istm-animate/mobile/android/compose-motion/references/recomposition-and-anim.md +196 -0
- package/istm-animate/mobile/android/compose-motion/references/shared-transitions.md +281 -0
- package/istm-animate/mobile/android/compose-multiplatform/SKILL.md +311 -0
- package/istm-animate/mobile/android/compose-multiplatform/references/cmp-interop.md +288 -0
- package/istm-animate/mobile/android/compose-multiplatform/references/cmp-platform-quirks.md +156 -0
- package/istm-animate/mobile/apple/swiftui-graphics/SKILL.md +408 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/canvas-swiftui.md +239 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/liquid-glass-deep.md +252 -0
- package/istm-animate/mobile/apple/swiftui-graphics/references/metal-recipes.md +382 -0
- package/istm-animate/mobile/apple/swiftui-motion/SKILL.md +379 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/gestures-swiftui.md +336 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/phase-keyframe-deep.md +231 -0
- package/istm-animate/mobile/apple/swiftui-motion/references/springs-cheatsheet.md +129 -0
- package/istm-animate/references/animate.md +199 -0
- package/istm-animate/references/audit.md +115 -0
- package/istm-animate/references/design-engineering.md +674 -0
- package/istm-animate/references/improve.md +101 -0
- package/istm-animate/references/opportunities.md +132 -0
- package/istm-animate/references/plan-template.md +73 -0
- package/istm-animate/references/recipes.md +324 -0
- package/istm-animate/references/review.md +112 -0
- package/istm-animate/references/standards.md +187 -0
- package/istm-animate/references/vocabulary.md +173 -0
- package/istm-architecture/SKILL.md +70 -14
- package/istm-architecture/templates/agents.md +21 -2
- package/istm-awwward-designer/SKILL.md +53 -17
- package/istm-design/SKILL.md +49 -63
- package/istm-design/anti-laziness/architectural-patterns.md +55 -0
- package/istm-design/anti-laziness/parameter-tuning.md +44 -0
- package/istm-design/anti-laziness/prompt-engineering.md +52 -0
- package/istm-design/anti-laziness/reference-prompts.md +79 -0
- package/istm-design/archetypes/brandkit/SKILL.md +798 -0
- package/istm-design/archetypes/brutalist/SKILL.md +92 -0
- package/istm-design/archetypes/minimalist/SKILL.md +85 -0
- package/istm-design/archetypes/soft/SKILL.md +98 -0
- package/istm-design/core/design-audit/SKILL.md +248 -0
- package/istm-design/core/desktop-principles/SKILL.md +363 -0
- package/istm-design/core/desktop-principles/references/keyboard-patterns.md +137 -0
- package/istm-design/core/desktop-principles/references/multi-window.md +105 -0
- package/istm-design/core/mobile-principles/SKILL.md +289 -0
- package/istm-design/core/mobile-principles/references/accessibility-mobile.md +175 -0
- package/istm-design/core/mobile-principles/references/gestures-deep.md +220 -0
- package/istm-design/core/ui-ux-pro-max/SKILL.md +392 -0
- package/istm-design/core/ui-ux-pro-max/UPSTREAM.md +23 -0
- package/istm-design/core/ui-ux-pro-max/data/app-interface.csv +31 -0
- package/istm-design/core/ui-ux-pro-max/data/charts.csv +26 -0
- package/istm-design/core/ui-ux-pro-max/data/colors.csv +193 -0
- package/istm-design/core/ui-ux-pro-max/data/google-fonts.csv +1924 -0
- package/istm-design/core/ui-ux-pro-max/data/icons.csv +106 -0
- package/istm-design/core/ui-ux-pro-max/data/landing.csv +35 -0
- package/istm-design/core/ui-ux-pro-max/data/motion.csv +17 -0
- package/istm-design/core/ui-ux-pro-max/data/products.csv +193 -0
- package/istm-design/core/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/angular.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nuxt-ui.csv +71 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/uno.csv +60 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/winui.csv +60 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
- package/istm-design/core/ui-ux-pro-max/data/styles.csv +85 -0
- package/istm-design/core/ui-ux-pro-max/data/typography.csv +75 -0
- package/istm-design/core/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
- package/istm-design/core/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/istm-design/core/ui-ux-pro-max/references/pro-rules.md +109 -0
- package/istm-design/core/ui-ux-pro-max/references/quick-reference.md +240 -0
- package/istm-design/core/ui-ux-pro-max/scripts/core.py +464 -0
- package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1371 -0
- package/istm-design/core/ui-ux-pro-max/scripts/search.py +162 -0
- package/istm-design/core/ui-ux-pro-max/scripts/tests/test_core.py +134 -0
- package/istm-design/core/ui-ux-pro-max/scripts/validate_data.py +114 -0
- package/istm-design/image-to-code/SKILL.md +1228 -0
- package/istm-design/imagegen/SKILL.md +987 -0
- package/istm-design/presets/airbnb/DESIGN.md +545 -0
- package/istm-design/presets/airbnb/README.md +5 -0
- package/istm-design/presets/airtable/DESIGN.md +554 -0
- package/istm-design/presets/airtable/README.md +5 -0
- package/istm-design/presets/apple/DESIGN.md +562 -0
- package/istm-design/presets/apple/README.md +5 -0
- package/istm-design/presets/binance/DESIGN.md +634 -0
- package/istm-design/presets/binance/README.md +5 -0
- package/istm-design/presets/bmw/DESIGN.md +544 -0
- package/istm-design/presets/bmw/README.md +5 -0
- package/istm-design/presets/bmw-m/DESIGN.md +503 -0
- package/istm-design/presets/bmw-m/README.md +5 -0
- package/istm-design/presets/bugatti/DESIGN.md +454 -0
- package/istm-design/presets/bugatti/README.md +5 -0
- package/istm-design/presets/cal/DESIGN.md +542 -0
- package/istm-design/presets/cal/README.md +5 -0
- package/istm-design/presets/catalog.md +127 -0
- package/istm-design/presets/claude/DESIGN.md +589 -0
- package/istm-design/presets/claude/README.md +5 -0
- package/istm-design/presets/clay/DESIGN.md +541 -0
- package/istm-design/presets/clay/README.md +5 -0
- package/istm-design/presets/clickhouse/DESIGN.md +544 -0
- package/istm-design/presets/clickhouse/README.md +5 -0
- package/istm-design/presets/cohere/DESIGN.md +451 -0
- package/istm-design/presets/cohere/README.md +5 -0
- package/istm-design/presets/coinbase/DESIGN.md +570 -0
- package/istm-design/presets/coinbase/README.md +5 -0
- package/istm-design/presets/composio/DESIGN.md +506 -0
- package/istm-design/presets/composio/README.md +5 -0
- package/istm-design/presets/cursor/DESIGN.md +537 -0
- package/istm-design/presets/cursor/README.md +5 -0
- package/istm-design/presets/dell-1996/DESIGN.md +632 -0
- package/istm-design/presets/dell-1996/README.md +5 -0
- package/istm-design/presets/elevenlabs/DESIGN.md +504 -0
- package/istm-design/presets/elevenlabs/README.md +5 -0
- package/istm-design/presets/expo/DESIGN.md +526 -0
- package/istm-design/presets/expo/README.md +5 -0
- package/istm-design/presets/ferrari/DESIGN.md +531 -0
- package/istm-design/presets/ferrari/README.md +5 -0
- package/istm-design/presets/figma/DESIGN.md +578 -0
- package/istm-design/presets/figma/README.md +5 -0
- package/istm-design/presets/framer/DESIGN.md +544 -0
- package/istm-design/presets/framer/README.md +5 -0
- package/istm-design/presets/hashicorp/DESIGN.md +575 -0
- package/istm-design/presets/hashicorp/README.md +5 -0
- package/istm-design/presets/hp/DESIGN.md +670 -0
- package/istm-design/presets/hp/README.md +5 -0
- package/istm-design/presets/ibm/DESIGN.md +550 -0
- package/istm-design/presets/ibm/README.md +5 -0
- package/istm-design/presets/intercom/DESIGN.md +546 -0
- package/istm-design/presets/intercom/README.md +5 -0
- package/istm-design/presets/kraken/DESIGN.md +125 -0
- package/istm-design/presets/kraken/README.md +5 -0
- package/istm-design/presets/lamborghini/DESIGN.md +288 -0
- package/istm-design/presets/lamborghini/README.md +5 -0
- package/istm-design/presets/linear/DESIGN.md +548 -0
- package/istm-design/presets/linear/README.md +5 -0
- package/istm-design/presets/lovable/DESIGN.md +298 -0
- package/istm-design/presets/lovable/README.md +5 -0
- package/istm-design/presets/mastercard/DESIGN.md +365 -0
- package/istm-design/presets/mastercard/README.md +5 -0
- package/istm-design/presets/meta/DESIGN.md +683 -0
- package/istm-design/presets/meta/README.md +5 -0
- package/istm-design/presets/minimax/DESIGN.md +746 -0
- package/istm-design/presets/minimax/README.md +5 -0
- package/istm-design/presets/mintlify/DESIGN.md +852 -0
- package/istm-design/presets/mintlify/README.md +5 -0
- package/istm-design/presets/miro/DESIGN.md +825 -0
- package/istm-design/presets/miro/README.md +5 -0
- package/istm-design/presets/mistral/DESIGN.md +773 -0
- package/istm-design/presets/mistral/README.md +5 -0
- package/istm-design/presets/mongodb/DESIGN.md +767 -0
- package/istm-design/presets/mongodb/README.md +5 -0
- package/istm-design/presets/nike/DESIGN.md +575 -0
- package/istm-design/presets/nike/README.md +5 -0
- package/istm-design/presets/nintendo-2001/DESIGN.md +649 -0
- package/istm-design/presets/nintendo-2001/README.md +5 -0
- package/istm-design/presets/notion/DESIGN.md +821 -0
- package/istm-design/presets/notion/README.md +5 -0
- package/istm-design/presets/nvidia/DESIGN.md +640 -0
- package/istm-design/presets/nvidia/README.md +5 -0
- package/istm-design/presets/ollama/DESIGN.md +539 -0
- package/istm-design/presets/ollama/README.md +5 -0
- package/istm-design/presets/opencode/DESIGN.md +521 -0
- package/istm-design/presets/opencode/README.md +5 -0
- package/istm-design/presets/pinterest/DESIGN.md +597 -0
- package/istm-design/presets/pinterest/README.md +5 -0
- package/istm-design/presets/playstation/DESIGN.md +661 -0
- package/istm-design/presets/playstation/README.md +5 -0
- package/istm-design/presets/posthog/DESIGN.md +690 -0
- package/istm-design/presets/posthog/README.md +5 -0
- package/istm-design/presets/raycast/DESIGN.md +669 -0
- package/istm-design/presets/raycast/README.md +5 -0
- package/istm-design/presets/renault/DESIGN.md +589 -0
- package/istm-design/presets/renault/README.md +5 -0
- package/istm-design/presets/replicate/DESIGN.md +616 -0
- package/istm-design/presets/replicate/README.md +5 -0
- package/istm-design/presets/resend/DESIGN.md +585 -0
- package/istm-design/presets/resend/README.md +5 -0
- package/istm-design/presets/revolut/DESIGN.md +636 -0
- package/istm-design/presets/revolut/README.md +5 -0
- package/istm-design/presets/runwayml/DESIGN.md +244 -0
- package/istm-design/presets/runwayml/README.md +5 -0
- package/istm-design/presets/sanity/DESIGN.md +357 -0
- package/istm-design/presets/sanity/README.md +5 -0
- package/istm-design/presets/sentry/DESIGN.md +551 -0
- package/istm-design/presets/sentry/README.md +5 -0
- package/istm-design/presets/shopify/DESIGN.md +516 -0
- package/istm-design/presets/shopify/README.md +5 -0
- package/istm-design/presets/slack/DESIGN.md +482 -0
- package/istm-design/presets/spacex/DESIGN.md +363 -0
- package/istm-design/presets/spacex/README.md +5 -0
- package/istm-design/presets/spotify/DESIGN.md +246 -0
- package/istm-design/presets/spotify/README.md +5 -0
- package/istm-design/presets/starbucks/DESIGN.md +580 -0
- package/istm-design/presets/starbucks/README.md +5 -0
- package/istm-design/presets/stripe/DESIGN.md +487 -0
- package/istm-design/presets/stripe/README.md +5 -0
- package/istm-design/presets/supabase/DESIGN.md +462 -0
- package/istm-design/presets/supabase/README.md +5 -0
- package/istm-design/presets/superhuman/DESIGN.md +448 -0
- package/istm-design/presets/superhuman/README.md +5 -0
- package/istm-design/presets/tesla/DESIGN.md +286 -0
- package/istm-design/presets/tesla/README.md +5 -0
- package/istm-design/presets/theverge/DESIGN.md +339 -0
- package/istm-design/presets/theverge/README.md +5 -0
- package/istm-design/presets/together/DESIGN.md +633 -0
- package/istm-design/presets/together/README.md +5 -0
- package/istm-design/presets/uber/DESIGN.md +636 -0
- package/istm-design/presets/uber/README.md +5 -0
- package/istm-design/presets/vercel/DESIGN.md +736 -0
- package/istm-design/presets/vercel/README.md +5 -0
- package/istm-design/presets/vodafone/DESIGN.md +538 -0
- package/istm-design/presets/vodafone/README.md +5 -0
- package/istm-design/presets/voltagent/DESIGN.md +521 -0
- package/istm-design/presets/voltagent/README.md +5 -0
- package/istm-design/presets/warp/DESIGN.md +526 -0
- package/istm-design/presets/warp/README.md +5 -0
- package/istm-design/presets/webflow/DESIGN.md +588 -0
- package/istm-design/presets/webflow/README.md +5 -0
- package/istm-design/presets/wired/DESIGN.md +497 -0
- package/istm-design/presets/wired/README.md +5 -0
- package/istm-design/presets/wise/DESIGN.md +544 -0
- package/istm-design/presets/wise/README.md +5 -0
- package/istm-design/presets/xai/DESIGN.md +465 -0
- package/istm-design/presets/xai/README.md +5 -0
- package/istm-design/presets/zapier/DESIGN.md +537 -0
- package/istm-design/presets/zapier/README.md +5 -0
- package/istm-design/references/apple-design.md +282 -0
- package/istm-design/references/generation-guide.md +209 -0
- package/istm-design/references/pick-ui-library.md +77 -0
- package/istm-design/references/picker.md +197 -0
- package/istm-design/references/prototype.md +90 -0
- package/istm-design/references/schema.md +366 -0
- package/istm-design/semantic-design/DESIGN.md +121 -0
- package/istm-design/semantic-design/SKILL.md +184 -0
- package/istm-system-design/SKILL.md +12 -5
- package/istm-workflow/istm-autoplan/SKILL.md +1905 -0
- package/istm-workflow/istm-autoplan/SKILL.md.tmpl +923 -0
- package/istm-workflow/istm-craft/SKILL.md +12 -6
- package/istm-workflow/istm-cso/ACKNOWLEDGEMENTS.md +14 -0
- package/istm-workflow/istm-cso/SKILL.md +1313 -0
- package/istm-workflow/istm-cso/SKILL.md.tmpl +407 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md +253 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md.tmpl +251 -0
- package/istm-workflow/istm-cso/sections/manifest.json +14 -0
- package/istm-workflow/istm-debt/SKILL.md +44 -0
- package/istm-workflow/istm-debug/SKILL.md +12 -3
- package/istm-workflow/istm-design-review/SKILL.md +2053 -0
- package/istm-workflow/istm-design-review/SKILL.md.tmpl +312 -0
- package/istm-workflow/istm-develop/SKILL.md +10 -4
- package/istm-workflow/istm-eng-review/SKILL.md +1112 -0
- package/istm-workflow/istm-eng-review/SKILL.md.tmpl +163 -0
- package/istm-workflow/istm-eng-review/sections/manifest.json +14 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md +942 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md.tmpl +225 -0
- package/istm-workflow/istm-gain/SKILL.md +50 -0
- package/istm-workflow/istm-health/SKILL.md +1104 -0
- package/istm-workflow/istm-health/SKILL.md.tmpl +320 -0
- package/istm-workflow/istm-qa/BROWSER.md +1468 -0
- package/istm-workflow/istm-qa/SKILL.md +1743 -0
- package/istm-workflow/istm-qa/SKILL.md.tmpl +354 -0
- package/istm-workflow/istm-qa/references/issue-taxonomy.md +85 -0
- package/istm-workflow/istm-qa/templates/qa-report-template.md +126 -0
- package/istm-workflow/istm-release/SKILL.md +989 -0
- package/istm-workflow/istm-release/SKILL.md.tmpl +160 -0
- package/istm-workflow/istm-release/sections/manifest.json +14 -0
- package/istm-workflow/istm-release/sections/release-body.md +547 -0
- package/istm-workflow/istm-release/sections/release-body.md.tmpl +420 -0
- package/istm-workflow/istm-review/SKILL.md +57 -0
- package/istm-workflow/istm-ship/SKILL.md +1504 -0
- package/istm-workflow/istm-ship/SKILL.md.tmpl +582 -0
- package/istm-workflow/istm-ship/sections/adversarial.md +218 -0
- package/istm-workflow/istm-ship/sections/adversarial.md.tmpl +19 -0
- package/istm-workflow/istm-ship/sections/apple-release.md +58 -0
- package/istm-workflow/istm-ship/sections/apple-release.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/changelog.md +45 -0
- package/istm-workflow/istm-ship/sections/changelog.md.tmpl +3 -0
- package/istm-workflow/istm-ship/sections/greptile.md +51 -0
- package/istm-workflow/istm-ship/sections/greptile.md.tmpl +49 -0
- package/istm-workflow/istm-ship/sections/manifest.json +62 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md +329 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md.tmpl +31 -0
- package/istm-workflow/istm-ship/sections/pr-body.md +209 -0
- package/istm-workflow/istm-ship/sections/pr-body.md.tmpl +207 -0
- package/istm-workflow/istm-ship/sections/review-army.md +406 -0
- package/istm-workflow/istm-ship/sections/review-army.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md +264 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md.tmpl +23 -0
- package/istm-workflow/istm-ship/sections/tests.md +403 -0
- package/istm-workflow/istm-ship/sections/tests.md.tmpl +116 -0
- package/package.json +6 -3
- package/RELEASE_v1.2.0.md +0 -40
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
# Enter/Exit Recipes
|
|
2
|
+
|
|
3
|
+
Copy-paste recipes in CSS, Framer Motion, and GSAP.
|
|
4
|
+
Each recipe includes the BAD pattern (enter without exit) and the GOOD pattern (enter + exit).
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. Kowalski Style (Minimal)
|
|
9
|
+
|
|
10
|
+
Subtle, almost invisible. `opacity` + tiny `translateY(4px)`. Short spring or fast ease-out.
|
|
11
|
+
Best for: SaaS, productivity tools, frequent UI elements.
|
|
12
|
+
|
|
13
|
+
### CSS
|
|
14
|
+
|
|
15
|
+
```css
|
|
16
|
+
/* BAD -- entry without exit */
|
|
17
|
+
.card {
|
|
18
|
+
animation: kowalski-in 0.2s ease-out forwards;
|
|
19
|
+
}
|
|
20
|
+
@keyframes kowalski-in {
|
|
21
|
+
from { opacity: 0; transform: translateY(4px); }
|
|
22
|
+
to { opacity: 1; transform: translateY(0); }
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* GOOD -- enter + exit */
|
|
26
|
+
.card {
|
|
27
|
+
animation: kowalski-in 0.2s ease-out forwards;
|
|
28
|
+
}
|
|
29
|
+
.card.exiting {
|
|
30
|
+
animation: kowalski-out 0.15s ease-in forwards;
|
|
31
|
+
}
|
|
32
|
+
@keyframes kowalski-in {
|
|
33
|
+
from { opacity: 0; transform: translateY(4px); }
|
|
34
|
+
to { opacity: 1; transform: translateY(0); }
|
|
35
|
+
}
|
|
36
|
+
@keyframes kowalski-out {
|
|
37
|
+
from { opacity: 1; transform: translateY(0); }
|
|
38
|
+
to { opacity: 0; transform: translateY(2px); }
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Framer Motion
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
/* BAD -- no exit */
|
|
46
|
+
<motion.div initial={{ opacity: 0, y: 4 }} animate={{ opacity: 1, y: 0 }} />
|
|
47
|
+
|
|
48
|
+
/* GOOD */
|
|
49
|
+
<AnimatePresence>
|
|
50
|
+
{show && (
|
|
51
|
+
<motion.div
|
|
52
|
+
initial={{ opacity: 0, y: 4 }}
|
|
53
|
+
animate={{ opacity: 1, y: 0 }}
|
|
54
|
+
exit={{ opacity: 0, y: 2 }}
|
|
55
|
+
transition={{ type: "spring", stiffness: 400, damping: 30 }}
|
|
56
|
+
/>
|
|
57
|
+
)}
|
|
58
|
+
</AnimatePresence>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### GSAP
|
|
62
|
+
|
|
63
|
+
```js
|
|
64
|
+
// BAD -- no exit
|
|
65
|
+
gsap.from('.card', { opacity: 0, y: 4, duration: 0.2, ease: "power2.out" });
|
|
66
|
+
|
|
67
|
+
// GOOD
|
|
68
|
+
function enterCard(el) {
|
|
69
|
+
return gsap.from(el, { opacity: 0, y: 4, duration: 0.2, ease: "power2.out" });
|
|
70
|
+
}
|
|
71
|
+
function exitCard(el) {
|
|
72
|
+
return gsap.to(el, { opacity: 0, y: 2, duration: 0.15, ease: "power1.in" });
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 2. Krehel Style (Material)
|
|
79
|
+
|
|
80
|
+
Rich, layered. `opacity` + `translateY(8px)` + `blur(4px)`. Spring ~0.45s.
|
|
81
|
+
Best for: portfolios, creative sites, landing pages.
|
|
82
|
+
|
|
83
|
+
### CSS
|
|
84
|
+
|
|
85
|
+
```css
|
|
86
|
+
/* BAD -- entry without exit */
|
|
87
|
+
.card {
|
|
88
|
+
animation: krehel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
89
|
+
}
|
|
90
|
+
@keyframes krehel-in {
|
|
91
|
+
from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
|
|
92
|
+
to { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* GOOD -- enter + exit */
|
|
96
|
+
.card {
|
|
97
|
+
animation: krehel-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
98
|
+
}
|
|
99
|
+
.card.exiting {
|
|
100
|
+
animation: krehel-out 0.25s ease-in forwards;
|
|
101
|
+
}
|
|
102
|
+
@keyframes krehel-in {
|
|
103
|
+
from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
|
|
104
|
+
to { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
105
|
+
}
|
|
106
|
+
@keyframes krehel-out {
|
|
107
|
+
from { opacity: 1; transform: translateY(0); filter: blur(0); }
|
|
108
|
+
to { opacity: 0; transform: translateY(4px); filter: blur(2px); }
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Framer Motion
|
|
113
|
+
|
|
114
|
+
```tsx
|
|
115
|
+
/* BAD -- no exit */
|
|
116
|
+
<motion.div
|
|
117
|
+
initial={{ opacity: 0, y: 8, filter: "blur(4px)" }}
|
|
118
|
+
animate={{ opacity: 1, y: 0, filter: "blur(0px)" }}
|
|
119
|
+
/>
|
|
120
|
+
|
|
121
|
+
/* GOOD */
|
|
122
|
+
<AnimatePresence>
|
|
123
|
+
{show && (
|
|
124
|
+
<motion.div
|
|
125
|
+
initial={{ opacity: 0, y: 8, filter: "blur(4px)" }}
|
|
126
|
+
animate={{ opacity: 1, y: 0, filter: "blur(0px)" }}
|
|
127
|
+
exit={{ opacity: 0, y: 4, filter: "blur(2px)" }}
|
|
128
|
+
transition={{ type: "spring", stiffness: 200, damping: 20 }}
|
|
129
|
+
/>
|
|
130
|
+
)}
|
|
131
|
+
</AnimatePresence>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### GSAP
|
|
135
|
+
|
|
136
|
+
```js
|
|
137
|
+
// BAD -- no exit
|
|
138
|
+
gsap.from('.card', {
|
|
139
|
+
opacity: 0, y: 8, filter: "blur(4px)",
|
|
140
|
+
duration: 0.45, ease: "power3.out"
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
// GOOD
|
|
144
|
+
function enterCard(el) {
|
|
145
|
+
return gsap.from(el, {
|
|
146
|
+
opacity: 0, y: 8, filter: "blur(4px)",
|
|
147
|
+
duration: 0.45, ease: "power3.out"
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
function exitCard(el) {
|
|
151
|
+
return gsap.to(el, {
|
|
152
|
+
opacity: 0, y: 4, filter: "blur(2px)",
|
|
153
|
+
duration: 0.25, ease: "power2.in"
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## 3. Jhey Style (Playful)
|
|
161
|
+
|
|
162
|
+
Energetic, bouncy. `scale` + `rotate`, bounce/elastic easing.
|
|
163
|
+
Best for: kids apps, playful brands, gamified UI, creative portfolios.
|
|
164
|
+
|
|
165
|
+
### CSS
|
|
166
|
+
|
|
167
|
+
```css
|
|
168
|
+
/* BAD -- entry without exit */
|
|
169
|
+
.card {
|
|
170
|
+
animation: jhey-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
171
|
+
}
|
|
172
|
+
@keyframes jhey-in {
|
|
173
|
+
from { opacity: 0; transform: scale(0.8) rotate(-4deg); }
|
|
174
|
+
to { opacity: 1; transform: scale(1) rotate(0deg); }
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* GOOD -- enter + exit */
|
|
178
|
+
.card {
|
|
179
|
+
animation: jhey-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
|
|
180
|
+
}
|
|
181
|
+
.card.exiting {
|
|
182
|
+
animation: jhey-out 0.3s ease-in forwards;
|
|
183
|
+
}
|
|
184
|
+
@keyframes jhey-in {
|
|
185
|
+
from { opacity: 0; transform: scale(0.8) rotate(-4deg); }
|
|
186
|
+
to { opacity: 1; transform: scale(1) rotate(0deg); }
|
|
187
|
+
}
|
|
188
|
+
@keyframes jhey-out {
|
|
189
|
+
from { opacity: 1; transform: scale(1) rotate(0deg); }
|
|
190
|
+
to { opacity: 0; transform: scale(0.9) rotate(2deg); }
|
|
191
|
+
}
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Framer Motion
|
|
195
|
+
|
|
196
|
+
```tsx
|
|
197
|
+
/* BAD -- no exit */
|
|
198
|
+
<motion.div
|
|
199
|
+
initial={{ opacity: 0, scale: 0.8, rotate: -4 }}
|
|
200
|
+
animate={{ opacity: 1, scale: 1, rotate: 0 }}
|
|
201
|
+
/>
|
|
202
|
+
|
|
203
|
+
/* GOOD */
|
|
204
|
+
<AnimatePresence>
|
|
205
|
+
{show && (
|
|
206
|
+
<motion.div
|
|
207
|
+
initial={{ opacity: 0, scale: 0.8, rotate: -4 }}
|
|
208
|
+
animate={{ opacity: 1, scale: 1, rotate: 0 }}
|
|
209
|
+
exit={{ opacity: 0, scale: 0.9, rotate: 2 }}
|
|
210
|
+
transition={{ type: "spring", stiffness: 600, damping: 15 }}
|
|
211
|
+
/>
|
|
212
|
+
)}
|
|
213
|
+
</AnimatePresence>
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### GSAP
|
|
217
|
+
|
|
218
|
+
```js
|
|
219
|
+
// BAD -- no exit
|
|
220
|
+
gsap.from('.card', {
|
|
221
|
+
opacity: 0, scale: 0.8, rotation: -4,
|
|
222
|
+
duration: 0.6, ease: "back.out(1.7)"
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
// GOOD
|
|
226
|
+
function enterCard(el) {
|
|
227
|
+
return gsap.from(el, {
|
|
228
|
+
opacity: 0, scale: 0.8, rotation: -4,
|
|
229
|
+
duration: 0.6, ease: "back.out(1.7)"
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
function exitCard(el) {
|
|
233
|
+
return gsap.to(el, {
|
|
234
|
+
opacity: 0, scale: 0.9, rotation: 2,
|
|
235
|
+
duration: 0.3, ease: "power2.in"
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## 4. Snappy Style
|
|
243
|
+
|
|
244
|
+
Fast, professional. `opacity` + `translateY(-8px)` (drops down), ease-out 150ms.
|
|
245
|
+
Best for: dashboards, data-heavy apps, developer tools.
|
|
246
|
+
|
|
247
|
+
### CSS
|
|
248
|
+
|
|
249
|
+
```css
|
|
250
|
+
/* BAD -- entry without exit */
|
|
251
|
+
.tooltip {
|
|
252
|
+
animation: snappy-in 0.15s ease-out forwards;
|
|
253
|
+
}
|
|
254
|
+
@keyframes snappy-in {
|
|
255
|
+
from { opacity: 0; transform: translateY(-8px); }
|
|
256
|
+
to { opacity: 1; transform: translateY(0); }
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* GOOD -- enter + exit */
|
|
260
|
+
.tooltip {
|
|
261
|
+
animation: snappy-in 0.15s ease-out forwards;
|
|
262
|
+
}
|
|
263
|
+
.tooltip.exiting {
|
|
264
|
+
animation: snappy-out 0.1s ease-in forwards;
|
|
265
|
+
}
|
|
266
|
+
@keyframes snappy-in {
|
|
267
|
+
from { opacity: 0; transform: translateY(-8px); }
|
|
268
|
+
to { opacity: 1; transform: translateY(0); }
|
|
269
|
+
}
|
|
270
|
+
@keyframes snappy-out {
|
|
271
|
+
from { opacity: 1; transform: translateY(0); }
|
|
272
|
+
to { opacity: 0; transform: translateY(-4px); }
|
|
273
|
+
}
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### Framer Motion
|
|
277
|
+
|
|
278
|
+
```tsx
|
|
279
|
+
/* BAD -- no exit */
|
|
280
|
+
<motion.div initial={{ opacity: 0, y: -8 }} animate={{ opacity: 1, y: 0 }} />
|
|
281
|
+
|
|
282
|
+
/* GOOD */
|
|
283
|
+
<AnimatePresence>
|
|
284
|
+
{show && (
|
|
285
|
+
<motion.div
|
|
286
|
+
initial={{ opacity: 0, y: -8 }}
|
|
287
|
+
animate={{ opacity: 1, y: 0 }}
|
|
288
|
+
exit={{ opacity: 0, y: -4 }}
|
|
289
|
+
transition={{ duration: 0.15, ease: [0, 0, 0.58, 1] }}
|
|
290
|
+
/>
|
|
291
|
+
)}
|
|
292
|
+
</AnimatePresence>
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
### GSAP
|
|
296
|
+
|
|
297
|
+
```js
|
|
298
|
+
// BAD -- no exit
|
|
299
|
+
gsap.from('.tooltip', { opacity: 0, y: -8, duration: 0.15, ease: "power2.out" });
|
|
300
|
+
|
|
301
|
+
// GOOD
|
|
302
|
+
function enterTooltip(el) {
|
|
303
|
+
return gsap.from(el, { opacity: 0, y: -8, duration: 0.15, ease: "power2.out" });
|
|
304
|
+
}
|
|
305
|
+
function exitTooltip(el) {
|
|
306
|
+
return gsap.to(el, { opacity: 0, y: -4, duration: 0.1, ease: "power1.in" });
|
|
307
|
+
}
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
## 5. Cinematic Style
|
|
313
|
+
|
|
314
|
+
Slow, dramatic. `clipPath` reveal, 600ms+. Content revealed through a mask/wipe.
|
|
315
|
+
Best for: hero sections, portfolios, editorial, storytelling.
|
|
316
|
+
|
|
317
|
+
### CSS
|
|
318
|
+
|
|
319
|
+
```css
|
|
320
|
+
/* BAD -- entry without exit */
|
|
321
|
+
.hero {
|
|
322
|
+
animation: cinematic-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
323
|
+
}
|
|
324
|
+
@keyframes cinematic-in {
|
|
325
|
+
from { clip-path: inset(0 100% 0 0); }
|
|
326
|
+
to { clip-path: inset(0 0% 0 0); }
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* GOOD -- enter + exit */
|
|
330
|
+
.hero {
|
|
331
|
+
animation: cinematic-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
332
|
+
}
|
|
333
|
+
.hero.exiting {
|
|
334
|
+
animation: cinematic-out 0.5s ease-in forwards;
|
|
335
|
+
}
|
|
336
|
+
@keyframes cinematic-in {
|
|
337
|
+
from { clip-path: inset(0 100% 0 0); }
|
|
338
|
+
to { clip-path: inset(0 0% 0 0); }
|
|
339
|
+
}
|
|
340
|
+
@keyframes cinematic-out {
|
|
341
|
+
from { clip-path: inset(0 0% 0 0); opacity: 1; }
|
|
342
|
+
to { clip-path: inset(0 0% 0 100%); opacity: 0; }
|
|
343
|
+
}
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
### Framer Motion
|
|
347
|
+
|
|
348
|
+
```tsx
|
|
349
|
+
/* BAD -- no exit */
|
|
350
|
+
<motion.div
|
|
351
|
+
initial={{ clipPath: "inset(0 100% 0 0)" }}
|
|
352
|
+
animate={{ clipPath: "inset(0 0% 0 0)" }}
|
|
353
|
+
transition={{ duration: 0.8, ease: [0.4, 0, 0.2, 1] }}
|
|
354
|
+
/>
|
|
355
|
+
|
|
356
|
+
/* GOOD */
|
|
357
|
+
<AnimatePresence>
|
|
358
|
+
{show && (
|
|
359
|
+
<motion.div
|
|
360
|
+
initial={{ clipPath: "inset(0 100% 0 0)" }}
|
|
361
|
+
animate={{ clipPath: "inset(0 0% 0 0)" }}
|
|
362
|
+
exit={{ clipPath: "inset(0 0% 0 100%)", opacity: 0 }}
|
|
363
|
+
transition={{ duration: 0.8, ease: [0.4, 0, 0.2, 1] }}
|
|
364
|
+
/>
|
|
365
|
+
)}
|
|
366
|
+
</AnimatePresence>
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### GSAP
|
|
370
|
+
|
|
371
|
+
```js
|
|
372
|
+
// BAD -- no exit
|
|
373
|
+
gsap.from('.hero', {
|
|
374
|
+
clipPath: "inset(0 100% 0 0)",
|
|
375
|
+
duration: 0.8, ease: "power2.inOut"
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
// GOOD
|
|
379
|
+
function enterHero(el) {
|
|
380
|
+
return gsap.fromTo(el,
|
|
381
|
+
{ clipPath: "inset(0 100% 0 0)" },
|
|
382
|
+
{ clipPath: "inset(0 0% 0 0)", duration: 0.8, ease: "power2.inOut" }
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
function exitHero(el) {
|
|
386
|
+
return gsap.to(el, {
|
|
387
|
+
clipPath: "inset(0 0% 0 100%)", opacity: 0,
|
|
388
|
+
duration: 0.5, ease: "power2.in"
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
## Stagger Patterns
|
|
396
|
+
|
|
397
|
+
Stagger transforms a group of identical animations into a choreography.
|
|
398
|
+
|
|
399
|
+
### CSS (with custom properties)
|
|
400
|
+
|
|
401
|
+
```css
|
|
402
|
+
.card { animation: fade-up 0.3s ease-out forwards; animation-delay: calc(var(--i) * 50ms); opacity: 0; }
|
|
403
|
+
/* Set --i via inline style or nth-child */
|
|
404
|
+
.card:nth-child(1) { --i: 0; }
|
|
405
|
+
.card:nth-child(2) { --i: 1; }
|
|
406
|
+
.card:nth-child(3) { --i: 2; }
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### Framer Motion (variants)
|
|
410
|
+
|
|
411
|
+
```tsx
|
|
412
|
+
const container = {
|
|
413
|
+
hidden: {},
|
|
414
|
+
show: { transition: { staggerChildren: 0.05, delayChildren: 0.1 } },
|
|
415
|
+
exit: { transition: { staggerChildren: 0.03, staggerDirection: -1 } },
|
|
416
|
+
};
|
|
417
|
+
const item = {
|
|
418
|
+
hidden: { opacity: 0, y: 8 },
|
|
419
|
+
show: { opacity: 1, y: 0 },
|
|
420
|
+
exit: { opacity: 0, y: 4 },
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
<motion.ul variants={container} initial="hidden" animate="show" exit="exit">
|
|
424
|
+
{items.map((item) => (
|
|
425
|
+
<motion.li key={item.id} variants={item} />
|
|
426
|
+
))}
|
|
427
|
+
</motion.ul>
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### GSAP
|
|
431
|
+
|
|
432
|
+
```js
|
|
433
|
+
// Linear stagger
|
|
434
|
+
gsap.from('.card', {
|
|
435
|
+
opacity: 0, y: 20,
|
|
436
|
+
duration: 0.4, ease: "power2.out",
|
|
437
|
+
stagger: 0.06
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
// Center-out stagger (items animate from center outward)
|
|
441
|
+
gsap.from('.card', {
|
|
442
|
+
opacity: 0, y: 20,
|
|
443
|
+
duration: 0.4, ease: "power2.out",
|
|
444
|
+
stagger: { each: 0.06, from: "center" }
|
|
445
|
+
});
|
|
446
|
+
|
|
447
|
+
// Grid stagger (2D distribution)
|
|
448
|
+
gsap.from('.grid-item', {
|
|
449
|
+
opacity: 0, scale: 0.95,
|
|
450
|
+
duration: 0.4, ease: "power2.out",
|
|
451
|
+
stagger: { each: 0.04, from: "start", grid: [4, 4] }
|
|
452
|
+
});
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
---
|
|
456
|
+
|
|
457
|
+
## Summary: Which Recipe for Which Project?
|
|
458
|
+
|
|
459
|
+
| Project Type | Primary Recipe | Stagger | Timing |
|
|
460
|
+
|---|---|---|---|
|
|
461
|
+
| SaaS / Dashboard | Kowalski or Snappy | 40-60ms | 150-250ms |
|
|
462
|
+
| Portfolio / Agency | Krehel or Cinematic | 60-100ms | 300-600ms |
|
|
463
|
+
| E-commerce | Kowalski (products), Snappy (filters) | 50ms | 150-300ms |
|
|
464
|
+
| Landing page | Krehel (hero), Cinematic (sections) | 80-120ms | 400-800ms |
|
|
465
|
+
| Kids / Game UI | Jhey | 60-80ms | 300-600ms |
|
|
466
|
+
| Developer tools | Snappy | 30-50ms | 100-200ms |
|