[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111208":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":40,"discoverSource":41},111208,"detent-ui","ds-spec\u002Fdetent-ui","ds-spec","Premium React components you install with shadcn. Styled by your theme, yours to change. Free and open source.","https:\u002F\u002Fdetentui.com",null,"TypeScript",114,2,68,0,1,17,36,5,55.53,"MIT License",false,"main",[25,26,27,28,29,30,31,32,33,34,35],"components","design-engineering","motion","nextjs","react","reactjs","shadcn","shadcn-ui","tailwindcss","typescript","ui-library","2026-11-23 07:36:28","2026-11-22 14:28:59","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdetentui.com\">\n    \u003Cimg src=\"public\u002Fmedia\u002Fog\u002Fcomponents.png\" alt=\"Detent components\" width=\"100%\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Detent\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  React components with the motion and the states already worked out.\u003Cbr \u002F>\n  Install one with the shadcn CLI and the source is yours to change.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdetentui.com\">Website\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fdetentui.com\u002Fcomponents\">Components\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fdetentui.com\u002Fdocs\">Docs\u003C\u002Fa> ·\n  \u003Ca href=\"https:\u002F\u002Fdetentui.com\u002Fpro\">Pro\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cbr \u002F>\n\n## Install\n\nPick a component on [detentui.com](https:\u002F\u002Fdetentui.com\u002Fcomponents) and copy its command:\n\n```bash\nnpx shadcn add https:\u002F\u002Fdetentui.com\u002Fr\u002Fpopup\n```\n\nThe source lands in `components\u002Fdetent`, ready to change. The first install also brings the Detent theme, and anything a piece needs, like `motion`, comes with it.\n\nYou need React 19 and Tailwind CSS v4. Next.js is what we test on.\n\nWrap your app once so everything calms down for people who have asked their device for less motion:\n\n```tsx\nimport { MotionConfig } from 'motion\u002Freact'\n\nexport default function RootLayout({ children }) {\n  return (\n    \u003Chtml lang=\"en\">\n      \u003Cbody>\n        \u003CMotionConfig reducedMotion=\"user\">{children}\u003C\u002FMotionConfig>\n      \u003C\u002Fbody>\n    \u003C\u002Fhtml>\n  )\n}\n```\n\n## Free components\n\nAll 18 are MIT licensed.\n\n| Component | What it does | Install |\n| --- | --- | --- |\n| [Popup](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fpopup) | A menu that opens around your finger: press, slide, let go | `popup` |\n| [Phrase](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fphrase) | Settings written as one sentence, with words to pick and numbers to drag | `phrase` |\n| [Rewind](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Frewind) | A textarea you can scrub back through, deleted words returning in colour | `rewind` |\n| [Upload](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fupload) | Files tip the folder open and fall in as sheets | `upload` |\n| [Prompt box](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fprompt) | A composer whose tray slides out to say what it's doing | `prompt` |\n| [Model & effort](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fmodels) | Pick a model, then drag how hard it thinks and see what it costs | `models` |\n| [Diff review](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fdiff) | An agent's change, reviewed hunk by hunk, unified or split | `diff` |\n| [Rewrite](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Frewrite) | Select a phrase, say how it should read, accept it with Tab | `rewrite` |\n| [Voice note](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fvoicenote) | A waveform that inks in as it plays, with a transcript that follows | `voicenote` |\n| [Baseline chart](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fchart) | Click any day to make it the level everything else is read against | `chart` |\n| [Outlook chart](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Ftrend) | A forecast drawn as a band that thins where it's less certain | `trend` |\n| [Goal numerals](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Frings) | Goals as soft bars with big percentages, flicked through by month | `rings` |\n| [Metric explainer](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fmetric) | A number, its change in words, and the drivers behind it | `metric` |\n| [Halo bands](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fhalo) | A glow that restarts at every curved edge and follows the pointer | `halo` |\n| [Announcement pill](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fannounce) | The pill above a headline, with a line of light that runs round it once | `announce` |\n| [Slice text](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fslices) | Strips fly in and align into letters, then cut apart around the pointer | `slices` |\n| [Shift](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Fshift) | Where your visitors come from, as a list, bars or change, with every number moving to its new place | `shift` |\n| [Live list](https:\u002F\u002Fdetentui.com\u002Fcomponents\u002Flivelist) | A checklist your whole team writes in at once, each item arriving with who added it | `livelist` |\n\nSwap the name into the command: `npx shadcn add https:\u002F\u002Fdetentui.com\u002Fr\u002F\u003Cname>`.\n\n### Free blocks\n\nWhole sections, built from the components and wired up.\n\n| Block | What it is | Install |\n| --- | --- | --- |\n| [FAQ](https:\u002F\u002Fdetentui.com\u002Fblocks\u002Ffaq) | Answers, searched as you type | `faq` |\n| [Testimonials](https:\u002F\u002Fdetentui.com\u002Fblocks\u002Ftestimonials) | Quotes with the numbers behind them | `testimonials` |\n| [Integrations](https:\u002F\u002Fdetentui.com\u002Fblocks\u002Fintegrations) | Your stack, through glass | `integrations` |\n| [Sign in](https:\u002F\u002Fdetentui.com\u002Fblocks\u002Fsign-in) | One press, or a code by email | `sign-in` |\n| [Call to action](https:\u002F\u002Fdetentui.com\u002Fblocks\u002Fcta) | One line, and an email to start | `cta` |\n\n## With a coding agent\n\nPoint Cursor, Claude Code or any agent at [`detentui.com\u002Fllms.txt`](https:\u002F\u002Fdetentui.com\u002Fllms.txt). It lists every component with the exact command that installs it, so the agent doesn't have to guess. Every page also has a markdown version: add `.md` to its address.\n\n## Detent Pro\n\n19 more components, 12 whole-screen blocks and a full app template, with more on the way. One payment, every update for life. See [detentui.com\u002Fpro](https:\u002F\u002Fdetentui.com\u002Fpro).\n\nPro source lives in a private repository. Without it, this one still builds and runs: each Pro preview becomes a locked stand-in from `src\u002Flocked`.\n\n## Run the site\n\n```bash\nnpm install\nnpm run dev\n```\n\n| Folder | What's in it |\n| --- | --- |\n| `src\u002Flab` | The free components and blocks, their demos, and the motion they share |\n| `src\u002Fcatalog` | What every piece is, and the registry the CLI installs from |\n| `src\u002Fsite` | The website around them: gallery, pages and code browser |\n| `src\u002Fapp` | The routes |\n\n## Issues\n\nFound a bug or something that feels off? [Open an issue](https:\u002F\u002Fgithub.com\u002Fds-spec\u002Fdetent-ui\u002Fissues). Small, specific reports are the most useful: what you did, what you expected, and what happened.\n\n## Licence\n\nThe free components and this site's code are [MIT](LICENSE). Detent Pro has its own [licence](https:\u002F\u002Fdetentui.com\u002Flicence).\n","Detent 是一套面向现代 React 应用的开源 UI 组件库，专注于预置交互动态逻辑与状态管理。其核心特点是通过 shadcn CLI 一键安装、源码完全可定制，组件内置基于 Framer Motion 的精细动效（如拖拽反馈、时间轴回溯、波形同步等），并深度适配 Tailwind CSS 主题系统。所有组件开箱即用，无需额外配置动画库或样式框架，且默认支持系统级减少动画偏好。适用于需高交互性、强视觉反馈的生产力工具、AI 原生应用及数据协作界面等场景。","2026-11-24 04:40:26","CREATED_QUERY"]