{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "motion-tokens",
  "title": "Motion tokens",
  "description": "Durations, easings, springs (snappy, smooth, morph), staggers and blur radii for motion/react. The same values back foundation's --duration-* and --ease-* CSS variables. From Arc's free arc-motion-tokens (MIT).",
  "files": [
    {
      "path": "registry/khaeli/lib/motion-tokens.ts",
      "content": "/*\n * Copied from Arc's free arc-motion-tokens item, https://uiarc.dev\n * MIT License, Copyright (c) 2026 Elia Kuratli\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n/**\n * Motion presets for motion/react (seconds and cubic-bezier arrays), the same\n * values Arc items use, so Khaeli motion and Arc items move on one clock;\n * foundation.css carries the same durations and curves as --duration-* and\n * --ease-* for CSS transitions.\n */\nexport const motionTokens = {\n  duration: { instant: 0.12, fast: 0.16, exit: 0.18, standard: 0.24, considered: 0.48 },\n  ease: {\n    enter: [0.16, 1, 0.3, 1],\n    exit: [0.7, 0, 0.84, 0],\n    standard: [0.22, 1, 0.36, 1],\n    /** For elements that move while already on screen. */\n    inOut: [0.65, 0, 0.35, 1],\n  },\n  spring: {\n    responsive: { type: \"spring\", stiffness: 520, damping: 44 },\n    gentle: { type: \"spring\", stiffness: 340, damping: 34 },\n    /** Presses, toggles, thumbs, and small indicators. Settles fast and never overshoots, so nothing jitters. */\n    snappy: { type: \"spring\", visualDuration: 0.26, bounce: 0 },\n    /** Panels, height changes, and layout shifts. Critically damped, never overshoots. */\n    smooth: { type: \"spring\", visualDuration: 0.4, bounce: 0 },\n    /** Shape morphs, shared layout highlights, and width changes that follow new content. No bounce: sizes and positions settle without overshoot. */\n    morph: { type: \"spring\", visualDuration: 0.42, bounce: 0 },\n  },\n  /** Stagger steps in seconds. Keep total stagger under roughly 0.4s. */\n  stagger: { char: 0.016, word: 0.04, line: 0.08, item: 0.035 },\n  /** Blur radii in px for text and content crossfades. Keep blur small and brief. */\n  blur: { subtle: 2, soft: 4, text: 8 },\n} as const;\n",
      "type": "registry:lib"
    }
  ],
  "type": "registry:lib"
}