# Detent — full content > Well-made React components for your product. Installed with shadcn, styled by your theme, yours to change. 21 of 42 are free. Generated: 2026-12-04 Total pages: 63 --- # Detent — Make your product feel expensive. > Well-made React components for your product. Installed with shadcn, styled by your theme, yours to change. 21 of 42 are free. Canonical: https://detentui.com/ Last updated: 2026-10-25 ## What is Detent? Well-made React components for your product. Installed with shadcn, styled by your theme, yours to change. 21 of 42 are free. ## Components (42 total, 21 free) Detent ships 42 premium React components: agents, data, inputs and marketing. 21 are free under MIT. The rest are Pro. Install a first component to get started: ```bash npx shadcn add https://detentui.com/r/popup ``` ## Plans | Plan | Description | | --- | --- | | Pro — $99 | Everything you build the product with. | ## Key sections - [Components](https://detentui.com/components) — 42 premium React components - [Pro](https://detentui.com/pro) — 21 Pro components, 14 blocks and 2 templates - [Blocks](https://detentui.com/blocks) — Whole screens built from Detent components - [Templates](https://detentui.com/templates) — Landing pages and full apps - [Changelog](https://detentui.com/changelog) — Every update, newest first - [Guides](https://detentui.com/guides) — Long reads on building the hard parts of an AI product ## Related - [Pro](https://detentui.com/pro) - [Changelog](https://detentui.com/changelog) --- # Detent Pro > 21 React components, 14 whole screens and 2 templates. One payment, every update for life. Canonical: https://detentui.com/pro Last updated: 2026-12-04 ## What's in Pro Pro gives you 21 advanced React components, 14 whole-screen blocks, and 2 templates. One payment, every update for life, unlimited projects. ## Plans | Plan | Details | | --- | --- | | Pro — $99 | Everything you build the product with. one person | ## FAQ **Is it a subscription?** No. You pay once and keep everything, including every update that ships after you buy. **Will it match my design?** Installed with shadcn, Detent reads your theme: your primary becomes its accent, and `.dark` turns it dark. **How do I install Pro?** `npx shadcn add @detent-pro/` — set up your key once, then install any piece. ## Pro components (21) - [Ask your data](https://detentui.com/components/askchart) — Ask a question and get one line that answers it over a chart with one series in colour. Ask a follow-up and the same chart reshapes instead of starting over. - [Revenue bridge](https://detentui.com/components/bridge) — A waterfall you pour with your hand. Drag across the steps and the running total rolls on real wheels while each bar fills as the value reaches it. - [Flow funnel](https://detentui.com/components/funnel) — The funnel as one smooth shape. Pull any step wider to try a better conversion, and the headline says how many more customers that’s worth. It catches at the real rate, so you can feel your way back. - [Matchup](https://detentui.com/components/radar) — Two things compared in a sentence and drawn as one shape: each side of it wears the colour of whoever leads there, and the bigger the petal, the bigger the lead. - [Lasso scatter](https://detentui.com/components/scatter) — Every request a dot. Draw a lasso round any cluster and the headline says what it is: how many, their averages, and the group most belong to. - [Dot histogram](https://detentui.com/components/histogram) — A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column. - [Run waterfall](https://detentui.com/components/trace) — An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it. - [Ask filter](https://detentui.com/components/filter) — Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks. - [Period picker](https://detentui.com/components/dates) — A date range picked the quick way first: type “since sep 3” or take a period, with its dates shown. The calendar is one step further for exact days. Compare it with the period before, apply. - [Extraction review](https://detentui.com/components/extract) — Check what an AI read from a document before it’s saved. Point at a field and a thread runs to where it came from; what it isn’t sure of comes first, one at a time. - [Cash forecast](https://detentui.com/components/forecast) — Runway on a lit panel. Ask a what-if in plain words and the forecast bends away from the plan; switch to Range and the line becomes a swarm of likely futures, and the runway a range. - [Region wheel](https://detentui.com/components/region) — A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it. - [Lit find](https://detentui.com/components/find) — Find in a page, by light. Everything dims except what you searched for and the sentence it sits in, and one plate carries you through every match. - [Thread hero](https://detentui.com/components/threads) — Hairline threads sweep in from both edges and gather through your call to action. They tighten as you come near, part around your hand, and a press sends light out along every one. - [Glyph art](https://detentui.com/components/glyph) — Hand it an SVG icon or a word and it draws it in shimmering characters, lit from the top left. Switch the shape and the characters re-form into the new one. Move over it and they light up; press for a ripple. - [Hello globe](https://detentui.com/components/hello) — A language picker with the world under it, drawn in the letters each place writes in. Pick a language and the globe turns there, and its country lights up in orange, spelling the greeting. - [Agent canvas](https://detentui.com/components/agent-canvas) — Your product, working inside Claude, ChatGPT or Grok. Someone says what should happen, the agent checks off its work in the chat, and the result writes itself on a canvas beside it: the rule, the Linear issue it will open and the Slack post it will send. - [Emoji picker](https://detentui.com/components/emoji) — Emoji and symbols laid out as one round field instead of a grid. Fling it and it keeps gliding, the ones in the middle swell under your finger, and a tap sends the emoji flying into the message where your caret is. - [MCP install](https://detentui.com/components/mcp) — The page every company with an MCP server needs. Pick an editor and the exact config for it appears, choose remote or local and this project or everywhere, then copy: the card lights up in that editor's colour and waits until it connects. - [Agent wallet](https://detentui.com/components/agent-wallet) — Let an agent spend money without losing sleep. Set a monthly budget on a slider that clicks into place, ask to approve anything bigger, allow or block merchants, and open any purchase to read why the agent made it. - [Support chat](https://detentui.com/components/support-chat) — The help bubble in the corner, done properly. It answers from your help center with the sources it read, does the task when it can, takes a screenshot, and when it cannot help, a teammate joins the same chat already knowing everything. ## Related - [Components](https://detentui.com/components) - [Blocks](https://detentui.com/blocks) - [Templates](https://detentui.com/templates) --- # Get started — Detent > Install your first Detent component with the shadcn CLI, set up reduced motion, and connect Pro. Or hand it all to your coding agent. Canonical: https://detentui.com/docs Last updated: 2026-12-04 Detent installs with the shadcn CLI, so every piece lands in your project as source you own. 21 components are free under MIT; the rest come with Pro. ## With your coding agent Paste this into Cursor, Claude Code or any agent. It reads the library and installs for you. ```text Read https://detentui.com/llms.txt to learn the Detent component library. Then install the Popup component into this project with the shadcn CLI, using the exact command listed there, and use it on the home page. If the project has no components.json yet, run shadcn init first. ``` ## Install a component ### 1. Set up shadcn Skip this if your project already has a components.json. You need React and Tailwind CSS v4; Next.js is what we test on. ```bash npx shadcn@latest init ``` ### 2. Add Popup Its source lands in components/detent, ready to change. The first install also brings the Detent theme, and anything a piece needs, like motion, comes with it. ```bash npx shadcn add https://detentui.com/r/popup ``` ### 3. Respect reduced motion Wrap your app once in `` from motion/react, in app/layout.tsx. Everything Detent animates then calms down for people who have asked their device for less motion. ## Install Pro Pro installs the same way, from a private registry that knows your key. Pro is $99, once, with every update for life: https://detentui.com/pro ### 1. Make a key After you buy, make one on your account page (https://detentui.com/account). One per machine, and one for CI. ### 2. Add the registry to components.json ```json { "registries": { "@detent-pro": { "url": "https://detentui.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${DETENT_PRO_KEY}" } } } } ``` ### 3. Add your key to .env.local ```bash DETENT_PRO_KEY=dtnt_your-key ``` ### 4. Install anything ```bash npx shadcn add @detent-pro/glyph ``` ## If something goes wrong - pnpm stops with ERR_PNPM_IGNORED_BUILDS — pnpm is holding back Next.js build scripts in a new project. Run pnpm approve-builds, then install again. - A Pro install answers 401 or 403 — Check DETENT_PRO_KEY is in .env.local, the registry block is in components.json, and the key is still listed on your account page. - Colours or type look unstyled — The theme stylesheet is not loaded. The first install imports it into your global CSS; if you moved that file, import it again. - A coding agent installs the wrong thing — Point it at https://detentui.com/llms.txt first. It lists every component with its exact install command. Still stuck? Write to hello@detentui.com. ## Related - [Components](https://detentui.com/components) - [Blocks](https://detentui.com/blocks) - [Design system](https://detentui.com/system) - [Pro](https://detentui.com/pro) --- # Detent component library > 42 premium React components: agents, data, inputs and more. 21 free under MIT. Canonical: https://detentui.com/components Last updated: 2026-12-04 ## Agents components - [Run waterfall](https://detentui.com/components/trace) — An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it. - [Diff review](https://detentui.com/components/diff) — Code an agent wants to change, reviewed hunk by hunk. Lines stream in, verdicts stamp down, and unified slides into split. - [Rewrite](https://detentui.com/components/rewrite) — Select a phrase, say how it should read, and watch it rewritten in place like a tracked change. Tab takes it. - [Prompt box](https://detentui.com/components/prompt) — A white card on a quiet tray, round keys, and one dark key that speaks or sends. While it answers, the tray slides out from under the card and says what it’s doing. - [Model & effort](https://detentui.com/components/models) — Pick a model and how hard it thinks. Effort is a real detent you drag and flick, with the time and cost of every model running with your finger, so you feel what thinking harder costs before you choose. - [Extraction review](https://detentui.com/components/extract) — Check what an AI read from a document before it’s saved. Point at a field and a thread runs to where it came from; what it isn’t sure of comes first, one at a time. - [Voice note](https://detentui.com/components/voicenote) — A voice reply with a waveform of dots that inks in as it plays, a speed that steps to 2×, and a transcript that follows the voice word by word. - [Agent canvas](https://detentui.com/components/agent-canvas) — Your product, working inside Claude, ChatGPT or Grok. Someone says what should happen, the agent checks off its work in the chat, and the result writes itself on a canvas beside it: the rule, the Linear issue it will open and the Slack post it will send. - [MCP install](https://detentui.com/components/mcp) — The page every company with an MCP server needs. Pick an editor and the exact config for it appears, choose remote or local and this project or everywhere, then copy: the card lights up in that editor's colour and waits until it connects. - [Buddy](https://detentui.com/components/buddy) — Give your assistant a presence without an orb or a glow. Its eyes follow the pointer, look down at what you type, scan while it thinks, smile when it is done and droop when it is idle. - [Support chat](https://detentui.com/components/support-chat) — The help bubble in the corner, done properly. It answers from your help center with the sources it read, does the task when it can, takes a screenshot, and when it cannot help, a teammate joins the same chat already knowing everything. - [Agent wallet](https://detentui.com/components/agent-wallet) — Let an agent spend money without losing sleep. Set a monthly budget on a slider that clicks into place, ask to approve anything bigger, allow or block merchants, and open any purchase to read why the agent made it. ## Data components - [Ask filter](https://detentui.com/components/filter) — Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks. - [Matchup](https://detentui.com/components/radar) — Two things compared in a sentence and drawn as one shape: each side of it wears the colour of whoever leads there, and the bigger the petal, the bigger the lead. - [Lasso scatter](https://detentui.com/components/scatter) — Every request a dot. Draw a lasso round any cluster and the headline says what it is: how many, their averages, and the group most belong to. - [Dot histogram](https://detentui.com/components/histogram) — A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column. - [Flow funnel](https://detentui.com/components/funnel) — The funnel as one smooth shape. Pull any step wider to try a better conversion, and the headline says how many more customers that’s worth. It catches at the real rate, so you can feel your way back. - [Revenue bridge](https://detentui.com/components/bridge) — A waterfall you pour with your hand. Drag across the steps and the running total rolls on real wheels while each bar fills as the value reaches it. - [Ask your data](https://detentui.com/components/askchart) — Ask a question and get one line that answers it over a chart with one series in colour. Ask a follow-up and the same chart reshapes instead of starting over. - [Baseline chart](https://detentui.com/components/chart) — A metric against any day you choose. Click the line and that day becomes the level: above it prints blue, below it red, and the sentence reads again from there. - [Outlook chart](https://detentui.com/components/trend) — What happened is a line. What might happen is a band of ink that widens and thins as it runs out, so the part you can trust is the part that looks solid. - [Goal numerals](https://detentui.com/components/rings) — Each goal as a soft bar with its percentage set large on top. Flick through the month and every bar and number moves as one. At 100% a bar holds under your hand, then breaks through amber. - [Metric explainer](https://detentui.com/components/metric) — A metric that explains itself: the number, the change in words, the AI’s reading of why it moved, and the drivers behind it ranked by how much each one counted. - [Cash forecast](https://detentui.com/components/forecast) — Runway on a lit panel. Ask a what-if in plain words and the forecast bends away from the plan; switch to Range and the line becomes a swarm of likely futures, and the runway a range. - [Shift](https://detentui.com/components/shift) — One card for where your visitors come from, three ways to read it. Switch between List, Bars and Change and every bar, icon and number moves to its new place instead of redrawing, so you never lose the source you were looking at. ## Inputs components - [Period picker](https://detentui.com/components/dates) — A date range picked the quick way first: type “since sep 3” or take a period, with its dates shown. The calendar is one step further for exact days. Compare it with the period before, apply. - [Upload](https://detentui.com/components/upload) — Files hovering tip the folder open; dropped files fall in as sheets. - [Rewind](https://detentui.com/components/rewind) — A textarea you can rewind. Hold undo and drag, and your writing runs back under your hand, with the words you deleted coming back in colour. - [Popup](https://detentui.com/components/popup) — A popup that opens around your finger. The current choice stays where you pressed it, so you slide to the next one and let go. - [Phrase](https://detentui.com/components/phrase) — Settings written as one sentence. Only the words you can change are dark: tap a word to pick another, drag a number sideways to dial it, and the line under it says what your choice means. - [Region wheel](https://detentui.com/components/region) — A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it. - [Hello globe](https://detentui.com/components/hello) — A language picker with the world under it, drawn in the letters each place writes in. Pick a language and the globe turns there, and its country lights up in orange, spelling the greeting. - [Emoji picker](https://detentui.com/components/emoji) — Emoji and symbols laid out as one round field instead of a grid. Fling it and it keeps gliding, the ones in the middle swell under your finger, and a tap sends the emoji flying into the message where your caret is. - [Live list](https://detentui.com/components/livelist) — A checklist your whole team writes in at once. New items arrive in their group with the name of whoever added them, ticked ones settle into Done, and the card never changes height while it happens. - [Vault](https://detentui.com/components/vault) — A web3 deposit card that covers the whole trip: connect a wallet, pick a token, drag to an amount that clicks into 25%, half and max, then watch it go from signing to confirmed on-chain, with a clear reason if it is declined or fails. - [AI calendar](https://detentui.com/components/week) — Type lunch with Ana thursday at 1 and watch it happen: the week jumps to Thursday, a dot lands on it and the event slots into place as a draft before you press Enter, with a heads-up if it clashes. ## Marketing components - [Halo bands](https://detentui.com/components/halo) — Colour restarts at every curved edge, so one glow reads as glass. It follows your pointer. - [Announcement pill](https://detentui.com/components/announce) — The pill above a headline. A line of light runs round it once as you reach for it, and the tag says what pressing it will do. - [Slice text](https://detentui.com/components/slices) — Strips fly in from both sides and align into letters. Move over it and it cuts apart around the pointer. - [Thread hero](https://detentui.com/components/threads) — Hairline threads sweep in from both edges and gather through your call to action. They tighten as you come near, part around your hand, and a press sends light out along every one. - [Glyph art](https://detentui.com/components/glyph) — Hand it an SVG icon or a word and it draws it in shimmering characters, lit from the top left. Switch the shape and the characters re-form into the new one. Move over it and they light up; press for a ripple. ## Essentials components - [Lit find](https://detentui.com/components/find) — Find in a page, by light. Everything dims except what you searched for and the sentence it sits in, and one plate carries you through every match. ## Related - [Blocks](https://detentui.com/blocks) - [Templates](https://detentui.com/templates) --- # Detent Blocks — whole screens > 19 whole-screen React blocks built from Detent components. 5 are free; the rest need a Pro licence. Canonical: https://detentui.com/blocks Last updated: 2026-12-04 ## All blocks (19) - [Live features](https://detentui.com/blocks/live-features) — The features section of an AI product’s landing page: a heading and five tiles, each one the feature working rather than a picture of it. - [Metered pricing](https://detentui.com/blocks/pricing) — Usage-based pricing that opens with one big sentence: type or drag your volume and every price runs with your hand, on real wheels, with a notch wherever the best plan changes. Three plan cards sit under it, priced at that volume, with the recommended one printed in grain ink. - [Integrations](https://detentui.com/blocks/integrations) — The tools a product connects to, drifting in rows under a capsule of glass that shows each in its own colour. Press one and the glass opens into a panel to connect it; connected tools keep their colour, so the rows fill in as the stack comes together. - [Testimonials](https://detentui.com/blocks/testimonials) — Testimonials with receipts: one customer at a time writes their quote in, with the number that moved beside it, over a wall of short quotes that each carry a result. - [FAQ](https://detentui.com/blocks/faq) — The questions people ask before they start: search as you type with matches marked in place, topics, answers that open without moving the page, and a person to ask when it isn’t there. - [Call to action](https://detentui.com/blocks/cta) — The closing call to action: one line to want it, an email to start with, and the queue it promises to clear, resolving beside it. - [Calendar](https://detentui.com/blocks/calendar) — A week calendar with an assistant that finds the time. Ask for “45 minutes with Maya and Jonas before the weekend” and it works out when you’re all free, offers the best few, and books the one you pick. - [Data table](https://detentui.com/blocks/data-table) — A table you can ask. Say what you’re after in plain words and it becomes filters you can see and take apart, with views, sorting, paging, bulk actions and a summary of any row. - [Agent chat](https://detentui.com/blocks/agent-chat) — A real AI SDK conversation: the answer thinks, reads and streams, the run draws itself beside it, and anything that needs a person waits for a yes where you were typing. - [Task to merge](https://detentui.com/blocks/task-to-merge) — A task from plan to merged pull request, laid out like an issue your team already uses: the request, the activity as it happens, one approval, the checks and Merge. - [Voice mode](https://detentui.com/blocks/voice-mode) — A voice call that writes its own notes. As you talk, the page beside it fills in: notes as they’re said, to-dos with an owner and a date, and the ones the assistant does itself ticked off, with Undo. - [Evals](https://detentui.com/blocks/evals) — A candidate prompt against the one in production, case by case, before it ships. Regressions open side by side, and shipping waits for a person to decide each one. - [Agent dashboard](https://detentui.com/blocks/agent-dashboard) — One page for the agents you run in production. A sentence says what happened today, the charts show where, and any failed run opens step by step with a retry you approve. - [Support inbox](https://detentui.com/blocks/support-inbox) — A support inbox the AI has already been through. Everything sorted, replies drafted with their sources, and nothing in the list ever moves. - [Onboarding](https://detentui.com/blocks/onboarding) — A new workspace in four steps, each leaving something real behind: tools connected, the team invited, a first agent created and watched doing its first job. - [Sign in](https://detentui.com/blocks/sign-in) — Google or GitHub in one press, or a code by email. Then pick a workspace and you’re in. - [Settings](https://detentui.com/blocks/settings) — A whole settings area where every page is real: API keys with spend this month, members with roles, the workspace, and security with a careful danger zone. - [Code review](https://detentui.com/blocks/code-review) — A pull request where the agent answers your comments with a change you can apply in one press. - [Incident](https://detentui.com/blocks/incident) — An incident page built around the number that broke. Every event in the activity is pinned to the line it changed, from the first drop to the fix going out. Free: Integrations, Testimonials, FAQ, Call to action, Sign in, from the public registry. Every other block is Pro: install it from the private registry after setting up a licence key. ## Related - [Pro](https://detentui.com/pro) - [Templates](https://detentui.com/templates) --- # Detent Templates > 2 templates, with Pro. Canonical: https://detentui.com/templates Last updated: 2026-12-04 ## All templates (2) - [Dusk](https://detentui.com/templates/dusk) — Landing page · Security agent — The landing page for an agent that guards what AI writes: one dusk sky lights the hero, the night falls as you reach the end, and the product works in every section, finding, fixing and waiting for a yes. - [Detent](https://detentui.com/templates/detent) — App · Agent workspace — The app for an AI agent that works across your tools: sessions down the side, a thread that shows its work as it goes, and a composer that takes photos, files, tools and skills, queues what you ask while it answers, and sets how hard it thinks on a ramp of dots. ## Related - [Pro](https://detentui.com/pro) - [Blocks](https://detentui.com/blocks) --- # Detent design system > The tokens, typography and theme that Detent uses. Install with shadcn and it inherits your existing colours and fonts. Canonical: https://detentui.com/system Last updated: 2026-12-04 ## Design tokens Detent ships a set of CSS custom properties (design tokens) that map to your shadcn theme. Your `--primary` becomes Detent's accent, `--background` and `--foreground` are inherited, and `.dark` on the HTML element enables the dark variant automatically. ## Typography Detent uses Geist and Geist Mono from Google Fonts. All font sizes are set with the Tailwind v4 type scale. ## Install ```bash npx shadcn add https://detentui.com/r/theme.json ``` ## Related - [Components](https://detentui.com/components) --- # Detent Changelog > Every update shipped in Detent, newest first. Canonical: https://detentui.com/changelog Last updated: 2026-10-25 ### Works with the AI SDK, and with your theme *October 25, 2026* Hand useDetentChat what useChat gives you and it hands back the streaming answer, the run’s waterfall and the approval card, timed as the parts arrive. The Agent chat block puts them in one window, live on a real route you can try. And every free component now takes on your shadcn theme: your primary becomes its accent, and .dark turns it dark. - AI SDK - [Agent chat *(Pro)*](https://detentui.com/blocks/agent-chat) - Follows your shadcn theme ### A section for the landing page *October 25, 2026* Integrations, where your stack drifts under a lens of glass and connects where you press it. - [Integrations](https://detentui.com/blocks/integrations) ### The free components, rebuilt to the Pro bar *October 24, 2026* A new one: a voice note you can read along with, each word lighting as it’s spoken. - [Voice note](https://detentui.com/components/voicenote) ### An agent workspace, the first app template *October 24, 2026* A whole agent workspace to start from: sessions, a thread that shows its work, a composer that queues what you ask while it answers, reasoning set on a ramp of dots, and photos that open full size. - [Agent workspace template *(Pro)*](https://detentui.com/templates/detent) ### Charts, one at a time *October 23, 2026* The chart kit split into components you can take on their own, each with its own page, and all of them redrawn as instruments. - [Goal numerals](https://detentui.com/components/rings) - [Stat tiles](https://detentui.com/components/metric) ### A free tier that installs for real *October 23, 2026* Every free component installs with one command from a public registry, bringing its files and the Detent theme without touching yours. - [Public registry](https://detentui.com/components/prompt) - [Agent kit](https://detentui.com/components/prompt) ### Agents, and whole screens *October 22, 2026* The components an AI product is made of, and the blocks they make together. - [Run trace *(Pro)*](https://detentui.com/components/trace) - [Prompt box](https://detentui.com/components/prompt) - [Typed date range *(Pro)*](https://detentui.com/components/dates) - [Blocks](https://detentui.com/blocks/live-features) ### The first pieces *October 21, 2026* Where it started: the inputs a product is built on. - [Upload](https://detentui.com/components/upload) --- # Detent licence > The terms under which you may use Detent components in your projects. Canonical: https://detentui.com/licence Last updated: 2026-12-04 ## Summary The Detent licence lets you use the components in any number of personal or commercial projects. You may not resell or redistribute the components themselves. ## Key terms | | | | --- | --- | | Licensor | Detent | | Licence type | Commercial, per-seat | | Projects | Unlimited | | Redistribution | Not permitted | | Updates | All future updates included | Contact: hello@detentui.com ## Related - [Terms](https://detentui.com/terms) - [Refunds](https://detentui.com/refunds) --- # Detent — Terms of Service > The terms of service for purchasing and using a Detent licence. Canonical: https://detentui.com/terms Last updated: 2026-12-04 ## Summary These are the general terms of service for using Detent. By purchasing a licence you agree to these terms. Contact: hello@detentui.com ## Related - [Licence](https://detentui.com/licence) - [Refunds](https://detentui.com/refunds) --- # Detent — Refund Policy > The refund policy for Detent Pro purchases. Canonical: https://detentui.com/refunds Last updated: 2026-12-04 ## No refunds All Detent Pro sales are final. When you buy, you get the full source code of every Pro component, block and template straight away, and code that’s been delivered can’t be handed back. So once your payment goes through, we don’t issue refunds. ## What counts as using Pro Pro counts as used as soon as its code reaches you, by any of these routes: - Installing any Pro component, block or template with the shadcn CLI. - Getting Pro code through an AI agent, an MCP tool or any other assistant connected to your key. - Copying code from the site or the docs. - Downloading a template. It’s the same whether you take one component or the whole library. That’s why everything is out in the open first. Every Pro piece and both templates run live on detentui.com, and 21 components are free to install, so you can see how it looks and works in your own project before you pay. Buying and accessing Pro means you agree to this policy. ## Support If a component or a template doesn’t work in your project, email hello@detentui.com with what you installed and what you’re seeing, and we’ll help you fix it. When the problem is on our side, the fix ships as an update, so everyone who owns Pro gets it. ## Related - [Terms](https://detentui.com/terms) - [Licence](https://detentui.com/licence) --- # Detent — Privacy > What Detent keeps about you, why, who helps run it, and how to have it removed. No ads, nothing sold. Canonical: https://detentui.com/privacy Last updated: 2026-12-04 You can browse Detent and install every free component without an account. We only keep what we need to sign you in, deliver what you bought and answer you when you write. ## What we keep - Your email address, when you create an account. If you sign in with GitHub, your name and avatar from GitHub too. - Sign-in records: your session, and how you last signed in. - Your purchases: which plan, when, the payment reference from Dodo Payments, and whether it was refunded. We never see or store your card details. - Your licence keys, and checks of a key when it installs Pro components. - What you send us by email, so we can reply. ## What we don’t do - No advertising, and no ad cookies. Google Analytics’ advertising features are off. - We don’t sell or rent your data to anyone. - Live demos run in your browser or against a scripted demo. We don’t keep what you type into them. ## How we count visits Google Analytics shows us which pages people visit, which components and blocks they open, copy and install, what they search for, and when they start a purchase. Cloudflare Web Analytics also counts visits, without cookies. Google Analytics sets its own cookies to tell visits apart, and Google receives your IP address and browser details under its own privacy policy. You can block it with any content blocker and the site works the same. ## Who helps us run it - Dodo Payments: payment, as merchant of record. - Cloudflare: hosting, request logs and aggregate visit counts. - Google Analytics: visit counts and what people open, copy and buy. - Turso: the database for accounts, purchases and keys. - Resend: sign-in and purchase emails. - GitHub: only if you choose to sign in with it. ## Cookies, retention and your choices Our own cookies keep you signed in; Google Analytics sets its own as described above. Your account stays until you ask us to delete it; purchase records are kept as long as tax rules require. Request logs are kept only briefly by our host. Write to hello@detentui.com from the address on your account for a copy of what we hold, a correction, or deletion. We answer within 30 days. Deleting your account also stops your licence keys from working. ## Related - [Terms](https://detentui.com/terms) - [Refunds](https://detentui.com/refunds) --- # Run waterfall — Detent > An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it. Canonical: https://detentui.com/components/trace Last updated: 2026-12-04 ## About An agent run told two ways at once: one bar of where the time went, then every step as a plain sentence on its own time track. A step waiting on you lifts out with Approve in it. ## When to use - Use it for: Showing an agent run: where the time went, each step as a sentence, and a step waiting on human approval. - Don't use it for: Generic logs or request tracing for engineers. ## Placement A side pane next to the chat or the run’s detail page, 520 to 760 wide. Set `rows` for its height (default 10 steps) or `flush` to fill a pane with no card. ## Details - The headline says what the run came to: “9.18 seconds, half of it waiting on you.” One bar splits the time into waiting on a person, the model thinking, tools and retries, printed in grain ink, with the cost and tokens beside the run’s name. - Story tells each step as a plain sentence for the people the agent works for. Steps shows the step names, tokens and cost for the people who built it. The same rows, the same tracks. - Every step has a small track on a shared time scale, so the list is also a waterfall; a failed try and its retry share one track, and a wait on a person stays on it as amber hatching. - It plays live: bars grow, the split fills in and a line marks now on every track. When the run ends, the tracks settle so the run fills them. - A step waiting on a person lifts out of the list, lit, with Approve and Deny in it. - With the AI SDK, each tool’s sentence comes from the same lines the chat uses. Rows keep one height and the list scrolls in a fixed frame, so nothing around it moves. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/trace ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Diff review — Detent > Code an agent wants to change, reviewed hunk by hunk. Lines stream in, verdicts stamp down, and unified slides into split. Canonical: https://detentui.com/components/diff Last updated: 2026-12-04 ## About Code an agent wants to change, reviewed hunk by hunk. Lines stream in, verdicts stamp down, and unified slides into split. ## When to use - Use it for: Reviewing a code change an agent proposes, hunk by hunk, before it is applied. - Don't use it for: Showing a static code sample or a plain file preview. Use a normal code block instead. ## Placement Give it its own panel or modal, about 720 by 600 (its `size` default), beside or below the agent chat that proposed the change. It keeps that frame while lines stream in, so reserve the space up front. ## Details - Lines stream in as the agent writes them, and the counts in the header roll up with each one. - Every row is placed from a layout model, so unified to split is a single spring: removed lines slide left to sit beside their replacements. - Accepting a hunk resolves it into the final code; rejecting it puts the old lines back. The removed side fades where it stood. - The words that actually changed are marked inside each line, and lines too different to compare are left unmarked. - Verdicts land like a rubber stamp, and each one moves you on to the next hunk that still needs a look. - Buttons, stamps and the writing state share one fixed slot per hunk, so the header never shifts. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/diff ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | J / K | Next or previous hunk | | A | Accept the hunk | | R | Reject the hunk | | U | Undo the verdict | | S | Switch unified and split | | ↵ | Apply when everything is reviewed | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Rewrite — Detent > Select a phrase, say how it should read, and watch it rewritten in place like a tracked change. Tab takes it. Canonical: https://detentui.com/components/rewrite Last updated: 2026-12-04 ## About Select a phrase, say how it should read, and watch it rewritten in place like a tracked change. Tab takes it. ## When to use - Use it for: Letting someone select a phrase in a document and have AI rewrite it in place, accepted with Tab. - Don't use it for: A chat box or a whole-document generate button. Use [Prompt box](https://detentui.com/components/prompt.md) instead. ## Placement Wrap the paragraph being edited, in a document column 560 to 720 wide. One per editor; it brings its own bar, so leave space above the text for it and add no toolbar of your own. ## Details - A bar docks under the selection, never on the words you are deciding about: say what you want in your own words, or take a quick ask. - While the assistant works the bar wears the Intelligence edge, loud the first time and quiet after, and the chosen words shimmer in place. - Its version streams in after the original, which is struck through, so you read the change before you take it. - The bar says how much the change moved, in words, so a rewrite that grew when you asked for shorter is obvious at a glance. - Tab accepts: the old words fold away and the new ones settle in with one sweep of green. Escape puts everything back, even mid-way. - Try again asks for another version of the same request without losing your selection. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/rewrite ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Send your ask | | Tab | Accept the suggestion | | Esc | Stop, or undo it | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Prompt box — Detent > A white card on a quiet tray, round keys, and one dark key that speaks or sends. While it answers, the tray slides out from under the card and says what it’s doing. Canonical: https://detentui.com/components/prompt Last updated: 2026-12-04 ## About A white card on a quiet tray, round keys, and one dark key that speaks or sends. While it answers, the tray slides out from under the card and says what it’s doing. ## When to use - Use it for: The message composer of an AI product, with a send/voice key and a tray that says what the model is doing. - Don't use it for: Ordinary form inputs or a search box. ## Placement Pin it at the bottom of a chat view, centred, 420 to 640 wide (`width`, default 420). It grows upward over the messages, so leave the space above it scrollable and give it about 24px from the bottom edge. ## Details - A white card lifted on a soft shadow, sitting on a grey tray with the same corners. Keys are round and nest in the card’s corner; the one dark key is the only strong colour on it. - It reserves a fixed footprint and grows upward as you write, by transform, so nothing beneath it moves. Drop or paste files anywhere on it. - The modes sit in a capsule. The chosen one is lifted out of it and says its name, and the lift travels when you switch; arrow keys move it too. Model and project are small menus: tap one, or press and slide to a row and let go. - Empty, with `onVoice`, the dark key shows a wave and speaks. Words turn it into Send, and Send into Stop while it answers. Send clears the box at once. - While it answers, the tray says what it’s doing and for how long, in real seconds, and says so when it’s still waiting. With no `projects`, the tray slides out from under the card and the card rises; with them, it holds still and trades the project for the status. - If a send fails your words come back, and the tray says so. Cmd+Z straight after a send brings them back too. A double click on Send never stops the answer it just started. - Given suggestions, the focused, empty box offers the first, and Tab takes it. PromptStarters offers whole prompts as a quiet numbered list; press one, or its number. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/prompt ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Tab | Use the suggestion | | ↵ | Send | | ⇧ ↵ | New line | | ⌘ Z | Bring back what you just sent | | Esc | Stop the answer | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Model & effort — Detent > Pick a model and how hard it thinks. Effort is a real detent you drag and flick, with the time and cost of every model running with your finger, so you feel what thinking harder costs before you choose. Canonical: https://detentui.com/components/models Last updated: 2026-12-04 ## About Pick a model and how hard it thinks. Effort is a real detent you drag and flick, with the time and cost of every model running with your finger, so you feel what thinking harder costs before you choose. ## When to use - Use it for: Choosing an AI model and how much effort it spends, with time and cost shown before running. - Don't use it for: A product with a single fixed model, or non-AI settings. Use [Phrase](https://detentui.com/components/phrase.md) instead. ## Placement Inside a composer, in its bottom row beside the send button. The menu opens upward, so it needs about 300px above it inside the viewport. Never on its own in a page. ## Details - Grab the plate and drag or flick it along Low, Medium, High and Max. It catches in each notch with a soft tick, and a flick works out where it would come to rest before it settles there. - Time and cost run continuously with your finger on every row at once. They don’t jump at each stop, so the whole list is a comparison while you’re still deciding. - Catch it mid-flight and it keeps its speed in your hand. Push past either end and it gives like a rubber band. - A model that doesn’t reason ignores effort and stays put, which says so without a word. - The trigger reads the setting, “Pro Medium”, and fits in any composer. The menu opens upward. Pass `muted` to silence the tick. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/models ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↑ / ↓ | Move through the models | | ← / → | Change effort | | ↵ | Choose | | Esc | Close | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Ask filter — Detent > Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks. Canonical: https://detentui.com/components/filter Last updated: 2026-12-04 ## About Type what you want to see in plain words. Each phrase hangs its filter on a thread, and when a word could mean two things, it asks. ## When to use - Use it for: Filtering a table or list by typing plain words that become filters, asking when a word is ambiguous. - Don't use it for: Two or three fixed dropdown filters. ## Placement Directly above the table or list it filters, the full width of that table. The bar keeps its height, so the list below never jumps. ## Details - Each phrase the assistant understood is underlined, and a thread runs from it to the filter it became, so a wrong reading is obvious and one click from fixed. - Click a filter and the other ways its words could be read open beneath it, each with a note on what it means; its thread and underline light up in the accent. - When a word could mean two things, its filter is dashed in amber and one short question waits beneath, its answers numbered for the keyboard and each with its own count. - Until you answer, the count is a range: the fewest and the most the answer could give. - One line under the filters always says what is being shown, in plain words. - Bring your own model through read(), and count however your data lives. The bar, the filters and that line keep their sizes, so the list below never moves. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/filter ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↵ | Read what you typed | | 1 – 9 | Answer the question | | Esc | Close the readings, or clear | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Matchup — Detent > Two things compared in a sentence and drawn as one shape: each side of it wears the colour of whoever leads there, and the bigger the petal, the bigger the lead. Canonical: https://detentui.com/components/radar Last updated: 2026-12-04 ## About Two things compared in a sentence and drawn as one shape: each side of it wears the colour of whoever leads there, and the bigger the petal, the bigger the lead. ## When to use - Use it for: Comparing two things across several dimensions, colored by who leads where. - Don't use it for: More than two things, or a single dimension. ## Placement A card up to about 520 wide, square-ish. Two things only. ## Details - The sentence names both and says what each one takes, in their colours, so it needs no legend. - One shape, everything either of them reaches. Each stretch of its edge takes the colour of whoever is ahead there, and where the lead changes hands it changes colour exactly at the crossing. - Each quality is named once, in the colour of whoever has it. The numbers stay out of the way: point at a quality and the sentence gives the margin and both readings. - Choose any two from the list and the shape springs to the new pair rather than swap. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/radar ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Lasso scatter — Detent > Every request a dot. Draw a lasso round any cluster and the headline says what it is: how many, their averages, and the group most belong to. Canonical: https://detentui.com/components/scatter Last updated: 2026-12-04 ## About Every request a dot. Draw a lasso round any cluster and the headline says what it is: how many, their averages, and the group most belong to. ## When to use - Use it for: Exploring many points (like requests) by lassoing a cluster to get its summary. - Don't use it for: Fewer than a few dozen points. ## Placement A wide dashboard card, 560 to 720, with some height (about 360+) so the lasso has room. ## Details - Every point a dot, placed on two measures and sized by how much of it there is, coloured by group. - Draw a lasso round any cluster: the dots inside light, the rest step back, and the headline says how many, their averages and the group most of them belong to. - A cluster you can see becomes a finding you can say. Double-click to clear. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/scatter ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Dot histogram — Detent > A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column. Canonical: https://detentui.com/components/histogram Last updated: 2026-12-04 ## About A distribution stacked from dots, each one a fixed number of readings. Drag or flick the target pin and everything past it turns rose, catching on each column. ## When to use - Use it for: A distribution against a target, where everything past the target is highlighted. - Don't use it for: Category counts or time series. ## Placement A dashboard card 480 to 640 wide, beside the metric it breaks down. ## Details - Every column is a stack of dots, each dot a fixed number of readings, so the shape is also a count; they drop into place on arrival. - The median and tail percentiles stand as quiet pins above the dots. - Drag the target pin, or use the arrow keys, and every dot past it turns rose while the headline says what share misses it, so a goal like 95% under 800ms can be tried before it’s agreed. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/histogram ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Flow funnel — Detent > The funnel as one smooth shape. Pull any step wider to try a better conversion, and the headline says how many more customers that’s worth. It catches at the real rate, so you can feel your way back. Canonical: https://detentui.com/components/funnel Last updated: 2026-12-04 ## About The funnel as one smooth shape. Pull any step wider to try a better conversion, and the headline says how many more customers that’s worth. It catches at the real rate, so you can feel your way back. ## When to use - Use it for: A conversion funnel where people try a better rate at any step and see what it is worth. - Don't use it for: A static report of step counts with no what-if. ## Placement A wide card 560 to 720, about 250 tall (its `height` default), in a growth or conversion dashboard. ## Details - Pull a step and every step after it moves. What you’ve added prints in blue grain around the real funnel, and what you’ve lost in red. - The headline does the sum, “Started a trial at 50% adds 592 paying customers a month”, and keeps a total when you change several. - Why people left sits under each step, in the space they left. - A root scale keeps late steps wide enough to hold, so a 2% step is still something you can pull. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/funnel ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↑ / ↓ | Change the step by a point | | Esc | Back to the real numbers | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Revenue bridge — Detent > A waterfall you pour with your hand. Drag across the steps and the running total rolls on real wheels while each bar fills as the value reaches it. Canonical: https://detentui.com/components/bridge Last updated: 2026-12-04 ## About A waterfall you pour with your hand. Drag across the steps and the running total rolls on real wheels while each bar fills as the value reaches it. ## When to use - Use it for: A waterfall from a start value to an end value through positive and negative steps (revenue bridge). - Don't use it for: Trends over time. ## Placement A wide card 560 to 720, under the headline revenue number it explains. ## Details - The total sits on top in big type, under it a sentence: how far it moved and what did the most. - Drag or point across the steps and one value drives everything: the digits turn with your hand, each change fills a beat behind it, and the closing bar rises and falls with the running total. - Flick it and it runs on, then catches the nearest step with a soft tick. Pass `muted` to silence it. Arrow keys step it. - At rest only the biggest change is in full colour. The other changes sit back in the same green and rose, and the new total stands solid in ink. - Bars float near their range, so small changes still read. Switch period and it pours through again. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/bridge ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Ask your data — Detent > Ask a question and get one line that answers it over a chart with one series in colour. Ask a follow-up and the same chart reshapes instead of starting over. Canonical: https://detentui.com/components/askchart Last updated: 2026-12-04 ## About Ask a question and get one line that answers it over a chart with one series in colour. Ask a follow-up and the same chart reshapes instead of starting over. ## When to use - Use it for: Asking a question of data in words and getting one answering line over a chart that reshapes on follow-ups. - Don't use it for: A fixed dashboard chart with no questions. ## Placement A main panel 560 to 720 wide, with room above for the question and below for follow-ups. ## Details - The answer comes first, in one line that names what it found in the chart’s one colour, so the line is its own legend. - One series stands full and carries its values; the others recede into slim grey, there for context and read by pointing. The answer can name it, or it’s the first one the headline mentions. - No axis to decode and no gridlines, just the numbers on the marks. Compare two lines and the gap between them is filled. - Follow-ups reshape the same chart: bars that stay slide and widen into their new places, bars that go sink to the baseline, new ones rise, and the scale glides to fit. - Four kinds from the same marks: bars, stacked, dots and lines. The answer picks one; a switch lets anyone reshape it. - Every question stays in a trail above the chart. Press one and its chart comes back, reshaping again. - The query behind any answer unfolds in place, so people can check how a number was made. Bring any model or text-to-SQL: one function turns a question into categories and series. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/askchart ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↵ | Ask the question | | Tab | Reach the trail and the query | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Baseline chart — Detent > A metric against any day you choose. Click the line and that day becomes the level: above it prints blue, below it red, and the sentence reads again from there. Canonical: https://detentui.com/components/chart Last updated: 2026-12-04 ## About A metric against any day you choose. Click the line and that day becomes the level: above it prints blue, below it red, and the sentence reads again from there. ## When to use - Use it for: One metric over time where the reader picks the day everything else is compared against. - Don't use it for: Comparing many series, or a dashboard of small sparklines. Use [Outlook chart](https://detentui.com/components/trend.md) instead. ## Placement A dashboard card, 480 to 720 wide. It draws no card of its own, so wrap it in one (bg-surface, the card edge, 16 to 20px padding) and put the metric it explains in that card’s header. It is about 450 tall with its sentence. ## Details - The headline is a sentence, “Since Sep 6, up $18,000 by Oct 8, or 42.7%”, so the answer comes before the chart. - Click any day and the level glides there. Gain prints in blue grain and loss in red, against the day you chose. - Point along the line and the sentence reads to that day instead of the latest. - Set `look="plain"` for flat fills where the grain is too much. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/chart ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← / → | Read the day before or after | | Home / End | First or latest day | | ↵ | Start from this day | | Esc | Let go | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Period picker — Detent > A date range picked the quick way first: type “since sep 3” or take a period, with its dates shown. The calendar is one step further for exact days. Compare it with the period before, apply. Canonical: https://detentui.com/components/dates Last updated: 2026-12-04 ## About A date range picked the quick way first: type “since sep 3” or take a period, with its dates shown. The calendar is one step further for exact days. Compare it with the period before, apply. ## When to use - Use it for: Picking a date range quickly by typing ("since sep 3") or a preset, with comparison to the previous period. - Don't use it for: Picking a single date. ## Placement At the right end of a report or dashboard header. It brings its own date button, which opens the presets and calendar below it, so leave about 420px of room under that button. ## Details - A pill shows the range where it lives in a toolbar; open it and the top is a field. Type “since sep 3” or “last quarter” and the dates it landed on appear beside your words as you go. - Under it, the periods people want most, each showing the dates it means today, so you read the range before you pick it. - Pick exact dates steps over to the calendar: one month, the range one band a week, its ends filled and today ringed. Click a start, then an end, and the band follows your pointer. - Compare with the period before or the same dates last year, and the dates it compares with show beside Apply. The panel is one size whichever way you pick. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/dates ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Apply what you typed | | Tab | Move through the periods | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Upload — Detent > Files hovering tip the folder open; dropped files fall in as sheets. Canonical: https://detentui.com/components/upload Last updated: 2026-12-04 ## About Files hovering tip the folder open; dropped files fall in as sheets. ## When to use - Use it for: Dropping files into an app, with the drop target reacting as files hover. - Don't use it for: A single avatar picker or a paste-only input. ## Placement Inside the form or step that needs the files, the form’s full width. Its list has a fixed height, so it never pushes the page. ## Details - Dragging files over the zone tips the folder open. - Dropped files fall in as sheets with their previews. - The list has a fixed height, so adding files never pushes the page. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/upload ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Extraction review — Detent > Check what an AI read from a document before it’s saved. Point at a field and a thread runs to where it came from; what it isn’t sure of comes first, one at a time. Canonical: https://detentui.com/components/extract Last updated: 2026-12-04 ## About Check what an AI read from a document before it’s saved. Point at a field and a thread runs to where it came from; what it isn’t sure of comes first, one at a time. ## When to use - Use it for: Reviewing fields an AI pulled out of a document (invoice, form) before they are saved, uncertain fields first. - Don't use it for: Editing a plain form that no AI filled in. ## Placement Its own review screen, about 900 by 700 (its `size` default): the document left, fields right. On narrow screens give it the full width. ## Details - The page on the left, what was read from it on the right. Every field has a faint box on the page; point at one and its box lights up, with a thread running to it down the gutter, so no line crosses what you’re reading. - What it isn’t sure of comes first, the riskiest at the top: the piece of the page shown large, a sentence on why it was flagged, and the choices. Amber is worth a look; red is a reason to stop. - A value found off the page, like a PO number from the email, shows the line it was found in instead. - Everything read with confidence waits below as a quiet list. What you settle joins it, marked as checked by you. - Approve stays shut until every check is settled, and a hold keeps it shut. - Boxes come in the shape extraction services return them, fractions of the page, so the page can be an image, a PDF render or anything you draw. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/extract ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Outlook chart — Detent > What happened is a line. What might happen is a band of ink that widens and thins as it runs out, so the part you can trust is the part that looks solid. Canonical: https://detentui.com/components/trend Last updated: 2026-12-04 ## About What happened is a line. What might happen is a band of ink that widens and thins as it runs out, so the part you can trust is the part that looks solid. ## When to use - Use it for: History plus a forecast, where uncertainty should be visible as a widening band. - Don't use it for: Data with no forecast. Use [Baseline chart](https://detentui.com/components/chart.md) instead. ## Placement A dashboard card 480 to 720 wide. It draws no card of its own, so wrap it in one like the charts beside it; its height is fixed, so pair it with a Baseline chart or another chart of the same height. ## Details - Point along the forecast and the sentence gives the range for that day: “By Oct 26, 17M to 22M tokens a day. Likely.” - How far to believe it comes in words, Likely, Possible or A long shot, never a percentage to two places. Pass `odds` for your own. - Give it what happened and a low and high for each day ahead. It draws the rest. - Set `look="plain"` for a flat band. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/trend ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← / → | Read the day before or after | | Home / End | Nearest or furthest day | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Goal numerals — Detent > Each goal as a soft bar with its percentage set large on top. Flick through the month and every bar and number moves as one. At 100% a bar holds under your hand, then breaks through amber. Canonical: https://detentui.com/components/rings Last updated: 2026-12-04 ## About Each goal as a soft bar with its percentage set large on top. Flick through the month and every bar and number moves as one. At 100% a bar holds under your hand, then breaks through amber. ## When to use - Use it for: Progress toward several goals in a period, flicked month by month. - Don't use it for: A single progress bar or a loading indicator. ## Placement A card up to about 420 wide, in a dashboard sidebar or a goals section. ## Details - One large, plain percentage per goal on a soft bar. The digits turn on real wheels, driven by the same value as the bar, so the two can’t drift apart. - A goal is a wall. Push a bar into 100% and the number stops while the end of the bar gives under your hand. Keep going and it breaks: the number runs up to where it really is and amber floods back from the far end. Pull back and it closes. - Beneath the goals, the period. Hover or drag along it to read a day, or flick it and the card coasts with momentum and comes to rest on a day. The days to come are out of reach, so the end stretches. - The line under the name says whether a goal is ahead of the period’s pace, on it, or by how much it’s over, and an amber dot marks the day each goal went over. - Let go and it comes back to today. Arrow keys step a day at a time; End or Escape come back. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/rings ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Step a day | | Home | The first day | | End | Back to today | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Metric explainer — Detent > A metric that explains itself: the number, the change in words, the AI’s reading of why it moved, and the drivers behind it ranked by how much each one counted. Canonical: https://detentui.com/components/metric Last updated: 2026-12-04 ## About A metric that explains itself: the number, the change in words, the AI’s reading of why it moved, and the drivers behind it ranked by how much each one counted. ## When to use - Use it for: One KPI that explains itself: value, change in words, the reason it moved and its ranked drivers. - Don't use it for: A grid of many small stat tiles. ## Placement The lead card of a dashboard, about 640 wide (its `width` default) and about 550 tall with its drivers. Give it the full row, or pair it with a column of smaller cards that adds up to its height, so no empty space sits beside it. In a grid column, pass `width="100%"` so it fills the column. ## Details - The change is said in words, “up $12,410 on September”, not as a green or red pill: which way is good depends on the number. - The reading arrives word by word when you switch metrics, in a space held for three lines, so nothing below it moves. - Drivers carry what happened, not just a name, and what pulled against the change sits quietly in grey. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/metric ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Cash forecast — Detent > Runway on a lit panel. Ask a what-if in plain words and the forecast bends away from the plan; switch to Range and the line becomes a swarm of likely futures, and the runway a range. Canonical: https://detentui.com/components/forecast Last updated: 2026-12-04 ## About Runway on a lit panel. Ask a what-if in plain words and the forecast bends away from the plan; switch to Range and the line becomes a swarm of likely futures, and the runway a range. ## When to use - Use it for: Cash runway or any forecast with plain-language what-ifs and a range of likely futures. - Don't use it for: Historical data only. Use [Outlook chart](https://detentui.com/components/trend.md) instead. ## Placement A finance dashboard’s lead panel, 560 to 720 wide. ## Details - The headline is months of runway; beside it, the month the cash runs out and how much sooner or later that is than the plan. - The chart is the one sharp object: the past fades in from the edge, the forecast is printed in grain ink, and the month it runs out is a red deadline with the months after it hatched. - Range draws forty possible futures that follow the forecast, a column of dots a month with the band eight in ten fall inside, and gives the runway and the out-of-cash month as a range. - Type a what-if and the parts your model understands light up as you go. It says what it’s doing, can be stopped, and asks which one when a name matches two customers. - What-ifs stack like a feed, the newest on top, each with what it alone does to the runway; point at the stack and it fans out so any can be switched off. - Hold to adopt: the plan line comes down to meet the forecast and seats with a click. One size in every state, in both themes; look="plain" uses a flat fill. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/forecast ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Ask the what-if | | Space | Hold to adopt | | Esc | Back from a question | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Voice note — Detent > A voice reply with a waveform of dots that inks in as it plays, a speed that steps to 2×, and a transcript that follows the voice word by word. Canonical: https://detentui.com/components/voicenote Last updated: 2026-12-04 ## About A voice reply with a waveform of dots that inks in as it plays, a speed that steps to 2×, and a transcript that follows the voice word by word. ## When to use - Use it for: Playing back a recorded voice reply with a transcript that follows the audio. - Don't use it for: Live voice conversation or music playback. ## Placement In a message list, as an assistant reply, 360 to 480 wide. Align it to the side replies sit on. Not as a page-level player. ## Details - The waveform is a field of dots: louder moments reach further from the middle, the pauses between phrases fall to a murmur, and what’s been played is inked. - Drag across it to scrub; the time rolls rather than jumps, and the speed steps 1×, 1.5×, 2× with each press. - The transcript follows the voice: what’s been said reads in ink, what’s coming in grey, so skipping back greys it again from there. - Pass the audio and it plays for real; without it the note runs on a clock, with the waveform worked out from the words’ timing. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/voicenote ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Skip two seconds | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Halo bands — Detent > Colour restarts at every curved edge, so one glow reads as glass. It follows your pointer. Canonical: https://detentui.com/components/halo Last updated: 2026-12-04 ## About Colour restarts at every curved edge, so one glow reads as glass. It follows your pointer. ## When to use - Use it for: A glow behind a hero card or panel on a landing page that follows the pointer. - Don't use it for: Inside dense app UI or behind body text. ## Placement The panel of a landing page hero, with the pill, headline and call to action centred in its clear middle. Give it a height (about 520 on phones, 600+ wider). On phones the clear middle narrows, so keep what sits in it short. Pairs with Slice text as the headline and an Announcement pill above it; together they are one hero. ## Details - Wrap a hero, a stat or a call to action: your content sits in the clear middle. - The light drifts on its own and glides after the pointer, each band a beat behind the last. - A press melts in the next palette, and the shapes never move. - The glow moves on the GPU, so it stays smooth, and it follows your theme in light and dark. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/halo ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Lit find — Detent > Find in a page, by light. Everything dims except what you searched for and the sentence it sits in, and one plate carries you through every match. Canonical: https://detentui.com/components/find Last updated: 2026-12-04 ## About Find in a page, by light. Everything dims except what you searched for and the sentence it sits in, and one plate carries you through every match. ## When to use - Use it for: Find-in-page for long content, dimming everything but the matches and stepping through them. - Don't use it for: Site-wide search across pages. ## Placement Wrap the readable part of a long page (an article, docs, a transcript), up to about 560 to 720 wide. One per page. ## Details - Wrap any content. It’s never touched: a lit copy sits on top, so it works round any markup. - It starts from where you’re reading, not the top of the page. - Esc brings the page back around your sentence, so your eye keeps its place. - Use `open` and `onOpenChange` to open it from your own button on a phone. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/find ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ⌘F | Open | | Enter | Next match | | ⇧Enter | Previous match | | Esc | Close and stay here | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Rewind — Detent > A textarea you can rewind. Hold undo and drag, and your writing runs back under your hand, with the words you deleted coming back in colour. Canonical: https://detentui.com/components/rewind Last updated: 2026-12-04 ## About A textarea you can rewind. Hold undo and drag, and your writing runs back under your hand, with the words you deleted coming back in colour. ## When to use - Use it for: A note or text field where scrubbing back through history and seeing deleted words matters. - Don't use it for: Short single-line inputs or forms. ## Placement A note or text area in a document column, up to about 640 wide. Set `maxHeight` so long notes scroll inside it. ## Details - A tap of ⌘Z steps back one thought, not one letter. Holding it turns the mouse and the wheel into a scrubber. - Every pause you made is a soft notch, so it stops where your thinking stopped. - At Now it’s a plain textarea, so typing costs nothing and selection, spellcheck and IME are the browser’s own. - Store `onHistory` and pass it back as `history`, and undo survives a reload. - Plain text only. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/rewind ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | ⌘Z | Back one thought. Hold to scrub | | ⇧⌘Z | Forward one thought | | Esc | Put it back while scrubbing | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Popup — Detent > A popup that opens around your finger. The current choice stays where you pressed it, so you slide to the next one and let go. Canonical: https://detentui.com/components/popup Last updated: 2026-12-04 ## About A popup that opens around your finger. The current choice stays where you pressed it, so you slide to the next one and let go. ## When to use - Use it for: Choosing one option from a short list (about 2 to 8) with press, slide and release. - Don't use it for: Long lists that need scrolling or search. Use a combobox instead. ## Placement Inline in a settings or form row, with its label to the left. Short lists only (about 2 to 8 options). ## Details - A quick tap keeps it open, for people who click. Press and slide is the same control, one gesture shorter. - Slide well off to the side and let go to change your mind. - The menu moves itself to stay on screen, and the plate still starts on the current choice. - Made for short lists: everything shows at once, with no scrolling. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/popup ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Arrows | Open it, then move through the choices | | Enter | Choose | | Esc | Close without changing | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Phrase — Detent > Settings written as one sentence. Only the words you can change are dark: tap a word to pick another, drag a number sideways to dial it, and the line under it says what your choice means. Canonical: https://detentui.com/components/phrase Last updated: 2026-12-04 ## About Settings written as one sentence. Only the words you can change are dark: tap a word to pick another, drag a number sideways to dial it, and the line under it says what your choice means. ## When to use - Use it for: A few related settings written as one readable sentence with words to pick and numbers to drag. - Don't use it for: Long forms or more than about five settings. ## Placement A settings card or panel 400 to 520 wide, one sentence per card. ## Details - Mix words and numbers in one sentence through `parts`: plain text, a choice with `options`, or a number with `min`, `max` and `step`. - A word opens a short menu under itself. A number rolls as you drag it, and a tap opens − and + for people who don’t drag. - Pass `says` to write the line under it from the current values, so people see what their choice does before they leave. - Only the part you change moves: it eases to its new width, the sentence flows around it, and the card eases if a line wraps. - Use `value` and `onChange` to control it, or `defaultValue` to let it keep its own state. With reduced motion every change is instant. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/phrase ``` ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Open a word | | Arrows | Move through choices, or step a number | | Shift + arrows | Step a number by ten | | Esc | Close | ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Announcement pill — Detent > The pill above a headline. A line of light runs round it once as you reach for it, and the tag says what pressing it will do. Canonical: https://detentui.com/components/announce Last updated: 2026-12-04 ## About The pill above a headline. A line of light runs round it once as you reach for it, and the tag says what pressing it will do. ## When to use - Use it for: The small pill above a landing page headline announcing something new. - Don't use it for: In-app notifications or toasts. ## Placement Centred directly above the landing page headline, 16 to 24px above it. ## Details - Set `tag` and `action` for the two words it rolls between. - Add `dismissible` for a close button, and use `onDismiss` to remember the choice. - Pass your router’s link through `linkAs`. - With reduced motion the light stays off. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/announce ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Slice text — Detent > Strips fly in from both sides and align into letters. Move over it and it cuts apart around the pointer. Canonical: https://detentui.com/components/slices Last updated: 2026-12-04 ## About Strips fly in from both sides and align into letters. Move over it and it cuts apart around the pointer. ## When to use - Use it for: A short display headline on a landing page that animates in and reacts to the pointer. - Don't use it for: Body text, long headings or anything read more than once. ## Placement The headline of a landing page hero. It stays on one line and shrinks its type to fit its container, so the container’s width sets its size: cap it around 860 and give it a few words. It uses your text colour; the example’s white gradient `fill` is for a dark section, so drop `fill` on a light page. One per page. ## Details - It plays once, the first time it comes into view. - After that it answers the pointer, parting a few strips and healing when you leave. - Give it a gradient through `fill`, or let it use your text colour. - With reduced motion it simply appears, and screen readers always get the words. ## Install Free, MIT licensed. ```bash npx shadcn add https://detentui.com/r/slices ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Region wheel — Detent > A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it. Canonical: https://detentui.com/components/region Last updated: 2026-12-04 ## About A drum of server regions you can flick. The Earth turns with it, in the sunlight falling on it right now, with a route from your visitor to the region and the latency beside it. ## When to use - Use it for: Choosing a server region with latency from the visitor shown on a turning globe. - Don't use it for: Ordinary country or location pickers. ## Placement A full-width settings or onboarding step, up to about 980 wide, as the one thing on that step. ## Details - It opens on the fastest region and says how much slower any other one is. - The drum carries on under its own weight, settles on a stop, and stretches past either end. - Latency is estimated from distance until you pass your own numbers through `latency`. - Pass your visitor's position through `from`; without it, their time zone gives a rough guess. - Works from the keyboard with the arrow keys, and with reduced motion it moves straight to each stop. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/region ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Thread hero — Detent > Hairline threads sweep in from both edges and gather through your call to action. They tighten as you come near, part around your hand, and a press sends light out along every one. Canonical: https://detentui.com/components/threads Last updated: 2026-12-04 ## About Hairline threads sweep in from both edges and gather through your call to action. They tighten as you come near, part around your hand, and a press sends light out along every one. ## When to use - Use it for: A landing page hero built around one call to action. - Don't use it for: App screens or pages with several competing CTAs. ## Placement A full-width landing page hero around one call to action. It fills its parent, so give the section a height (for example 560px or 80vh). Without Pro, a hero made of Halo bands with Slice text and an Announcement pill does a similar job. ## Details - It fills its parent, so give the section a height. - The headline, line and button are yours; `sentLabel` changes the button once pressed. - Nothing is drawn while it is off screen. - With reduced motion the threads hold still, and the words and button work without WebGL. ## Install Part of Detent Pro. The `@detent-pro` registry must be in components.json and `DETENT_PRO_KEY` set in .env.local first: https://detentui.com/pro-setup.md ```bash npx shadcn add @detent-pro/threads ``` ## Related - [All components](https://detentui.com/components) - [Pro](https://detentui.com/pro) --- # Live features — Detent > The features section of an AI product’s landing page: a heading and five tiles, each one the feature working rather than a picture of it. Canonical: https://detentui.com/blocks/live-features Last updated: 2026-12-04 ## About The features section of an AI product’s landing page: a heading and five tiles, each one the feature working rather than a picture of it. ## Details - Every tile is live and on its own loop, so the section never moves all at once: a ticket resolves step by step, replies change language, a handover happens, a chart ticks over, a reply changes its tone. - The agent tile shows the part buyers worry about: the refund waits on a card that says exactly what will happen, and only moves once it’s approved. - Language and tone are real controls. Pick one and that tile is yours; the other tiles keep playing. - The chart’s bars grow from the floor by scale and every changing label holds its place, so nothing around a tile ever shifts. - It tells the same story as the rest of an AI product’s landing page, so the sections sit together and read as one product. - One column on a phone, two on a tablet, the full bento from 1024px. The agent tile drops its approval card when it’s too narrow for it. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Move along a tile’s choices | ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/live-features ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Metered pricing — Detent > Usage-based pricing that opens with one big sentence: type or drag your volume and every price runs with your hand, on real wheels, with a notch wherever the best plan changes. Three plan cards sit under it, priced at that volume, with the recommended one printed in grain ink. Canonical: https://detentui.com/blocks/pricing Last updated: 2026-12-04 ## About Usage-based pricing that opens with one big sentence: type or drag your volume and every price runs with your hand, on real wheels, with a notch wherever the best plan changes. Three plan cards sit under it, priced at that volume, with the recommended one printed in grain ink. ## Details - The sentence is the control. Type the number, drag it, or use the slider under it, on a log scale so 300 and 30,000 are both easy to reach. The price settles with some weight instead of snapping. - It recommends the plan that costs least. The plan in the sentence opens a menu of every plan at that volume, and if a person picks a dearer one it says what the cheaper one would save. - Three plan cards show the real price at your volume and the sum behind it. The recommended card is printed in grain ink, the only colour on the page besides the price. - Works for any usage: set `unit`, `period` and `range` for seats, credits or API calls. - A plan past its limit goes quiet but stays available and says where it pauses, so nobody hits a dead end. - The full comparison and common questions wait behind two rows. - It follows the page’s theme, black in dark and white in light. Set `tone="black"` to keep it black on any page. - On a narrow screen a bar keeps the plan and price in reach once the sentence scrolls away. Plans sit side by side from 896px. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Nudge the volume on the slider | | ⇧ ← → | Bigger steps | | Home / End | Lowest, highest | | ↵ | Set a typed number | | Esc | Drop a typed number | ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/pricing ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Integrations — Detent > The tools a product connects to, drifting in rows under a capsule of glass that shows each in its own colour. Press one and the glass opens into a panel to connect it; connected tools keep their colour, so the rows fill in as the stack comes together. Canonical: https://detentui.com/blocks/integrations Last updated: 2026-12-04 ## About The tools a product connects to, drifting in rows under a capsule of glass that shows each in its own colour. Press one and the glass opens into a panel to connect it; connected tools keep their colour, so the rows fill in as the stack comes together. ## Details - Three rows of marks drift in ink, each its own way. Whatever passes behind the glass swells, bends at the rim and takes its own colour, with its name under it. The line beneath says what the product does in the tool at its middle. - Press any tool and the rows ease to a stop with it under the glass, which opens into a frosted panel: what connecting does, what it’s allowed to touch, and Connect. Nothing chases the pointer, so the button stays where it appeared. - Connected tools keep their colour and a small check wherever they are, and the count at the top rolls up. - The glass is an SVG filter: the rows drawn again, magnified and in colour, pushed through a displacement map shaped like the capsule’s bevel, its colours parted a little at the rim. Its light follows the pointer. - Grab the rows to pull them through the glass and let go to watch them coast. Pointing at the stage slows the drift so a name can be read. With reduced motion the rows hold still. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Move the rows by one tool | | ↵ | Connect the tool in the glass | | Esc | Close the panel | ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install ```bash npx shadcn add https://detentui.com/r/integrations ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Testimonials — Detent > Testimonials with receipts: one customer at a time writes their quote in, with the number that moved beside it, over a wall of short quotes that each carry a result. Canonical: https://detentui.com/blocks/testimonials Last updated: 2026-12-04 ## About Testimonials with receipts: one customer at a time writes their quote in, with the number that moved beside it, over a wall of short quotes that each carry a result. ## Details - The featured quote streams in the way an answer does. Every word lands in the accent and cools to ink, and the line that matters gets a highlighter pass once it’s written. - Every claim has its receipt. Beside the quote, what moved and by how much, before and with the product. On the wall, each short quote ends in its result. - A ring fills round the current customer while their quote is up, then hands to the next. Pick someone and the rotation stops for good; the arrow keys move along them. - All the quotes share one cell, so the tallest sets the card’s height and turning never resizes it. The highlight is a painted background, so it moves nothing either. - The wall flows into one, two or three columns by width, and the featured card’s receipt moves under the quote below 896px. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Next or previous customer | ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install ```bash npx shadcn add https://detentui.com/r/testimonials ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # FAQ — Detent > The questions people ask before they start: search as you type with matches marked in place, topics, answers that open without moving the page, and a person to ask when it isn’t there. Canonical: https://detentui.com/blocks/faq Last updated: 2026-12-04 ## About The questions people ask before they start: search as you type with matches marked in place, topics, answers that open without moving the page, and a person to ask when it isn’t there. ## Details - Type and the list narrows letter by letter, with every match marked where it is. When a question only matched in its answer, a line of that answer comes up under it, so you can see why it’s there. - Nothing found turns into a way forward: Ask the team carries the search with it. - Answers open by their own height and the list stacks its rows by transform, so opening one, filtering or switching topic never moves anything else on the page. - Every answer asks whether it helped, and the reply takes the same place the question did. - It behaves like an accordion should: up and down move between questions, Home and End go to the ends, Escape clears the search. - On wide screens the heading, search and contact card stay put beside the list. Below 896px they sit above it. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↑ ↓ | Move between questions | | Esc | Clear the search | ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install ```bash npx shadcn add https://detentui.com/r/faq ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Call to action — Detent > The closing call to action: one line to want it, an email to start with, and the queue it promises to clear, resolving beside it. Canonical: https://detentui.com/blocks/cta Last updated: 2026-12-04 ## About The closing call to action: one line to want it, an email to start with, and the queue it promises to clear, resolving beside it. ## Details - Tickets rise through the assistant’s line and turn resolved as they cross: answered with how long it took, refunded, or handed to a person. Today’s count ticks over with each one. - The queue is drawn twice, waiting below the line and resolved above it, each clipped to its side and moved by one transform. A ticket changes as it crosses, with no state changing at all, and it pauses off screen. - The button folds into a spinner, then the whole field becomes where to look next, in the same place. A mistyped email shakes the field and says so under it. - The form, its confirmation and the line under it each hold their place, so sending never moves the page. - Below 896px the queue sits under the form. With reduced motion it holds still. ## Placement A full-width section of a landing page, in page order with the others. It brings its own surface, container and padding (about 1180 wide), so put it straight in the page, not inside your own padded container, and add no extra spacing above it. Pass every content prop; anything you leave out falls back to the demo’s sample content. ## Install ```bash npx shadcn add https://detentui.com/r/cta ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Calendar — Detent > A week calendar with an assistant that finds the time. Ask for “45 minutes with Maya and Jonas before the weekend” and it works out when you’re all free, offers the best few, and books the one you pick. Canonical: https://detentui.com/blocks/calendar Last updated: 2026-12-04 ## About A week calendar with an assistant that finds the time. Ask for “45 minutes with Maya and Jonas before the weekend” and it works out when you’re all free, offers the best few, and books the one you pick. ## Details - The finding is real. It reads how long, with whom and when from your sentence, lays their busy time over your week, and searches working hours from now on for every stretch where you’re all free for the whole length. - Suggestions are drawn where they’d go, dashed, and light up with the list as you point at either. Booking drops the event in with everyone on it, and Undo is right there. - The rest is a calendar that works. Click an empty slot to add an event and name it in place. Drag an event to another time or day, or focus it and use the arrow keys, a quarter hour or a day at a time. - Overlapping events share their hour side by side. Calendars toggle on and off, the month jumps between weeks, and the line for now sits across today. - Events move by transform while dragged and land on release; overlays and suggestions are their own layers, so nothing moves the page. - Below 1024px the sidebar folds away, and below 768px it shows the three days from yesterday to tomorrow. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↵ | Ask for a time | | ↑ ↓ | Move an event a quarter hour | | ← → | Move an event a day | | Esc | Put the suggestions away | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/calendar ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Data table — Detent > A table you can ask. Say what you’re after in plain words and it becomes filters you can see and take apart, with views, sorting, paging, bulk actions and a summary of any row. Canonical: https://detentui.com/blocks/data-table Last updated: 2026-12-04 ## About A table you can ask. Say what you’re after in plain words and it becomes filters you can see and take apart, with views, sorting, paging, bulk actions and a summary of any row. ## Details - Type “refunds over $50 this week that need approval” and it reads the sentence into chips: topic, amount, when, status. It knows names and unhappy customers too, and anything it doesn’t recognise becomes a text match, so nothing typed is ignored. - Every chip comes off on its own. Chips sit in a fixed row, so adding them never moves the table. - Rows sit at their index and glide to new places when you sort, filter or page. The body is always a page tall, so the footer never jumps. - Select rows and a bar rises with what you can do. Approved rows stay a beat with a sweep of green, so you see what happened before the filter takes them. - Open a row and the assistant’s summary of it writes itself in, with the action it’s waiting on. - Views carry their counts. Up and down move between rows, Space selects, Enter opens. Narrow, it keeps the columns that matter and tucks the subject under the name. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ↵ | Turn the sentence into filters | | ↑ ↓ | Move between rows | | Space | Select a row | | Esc | Close the summary | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/data-table ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Agent chat — Detent > A real AI SDK conversation: the answer thinks, reads and streams, the run draws itself beside it, and anything that needs a person waits for a yes where you were typing. Canonical: https://detentui.com/blocks/agent-chat Last updated: 2026-12-04 ## About A real AI SDK conversation: the answer thinks, reads and streams, the run draws itself beside it, and anything that needs a person waits for a yes where you were typing. ## Details - It runs on the AI SDK’s own useChat. Point it at any route that returns toUIMessageStreamResponse() and every part lands where it belongs. - Reasoning becomes the live thought, tool calls become the steps under it, sources become the citations, and the reply streams without re-wrapping. - The run beside the thread is a live waterfall of every model call and tool, with real durations the hook measures as parts arrive. - Tools that need approval stop the run on a dashed line. The prompt box steps aside for the approval card, and money takes a second press that names the amount. - A no is an answer too: the denial goes back to the model, and it says what it did instead. - The tools list shows what each one is doing right now, and how long its last call took. - Below 1024px the run folds into a sheet; on a phone the thread, the composer and the card all fit the width. ## Keyboard shortcuts | Keys | Action | | --- | --- | | Tab | Take the suggestion | | Enter | Send, or approve | | Esc | Deny | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/agent-chat ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Task to merge — Detent > A task from plan to merged pull request, laid out like an issue your team already uses: the request, the activity as it happens, one approval, the checks and Merge. Canonical: https://detentui.com/blocks/task-to-merge Last updated: 2026-12-04 ## About A task from plan to merged pull request, laid out like an issue your team already uses: the request, the activity as it happens, one approval, the checks and Merge. ## Details - It reads like an issue, not an agent log: where it lives and its state along the top, the request written like a ticket, and the properties down the side. - The activity puts people and the agent side by side: each event is one quiet line with who did it, and the moments that say something arrive as cards. - Files changed fills in a line at a time while the work goes on, and the checks tick off by name. - Failure is told, not hidden: a card says what the first test run caught and how it was fixed. - Deploying waits for a person. The card says exactly what will ship and where, with Enter to approve and Escape to deny. - Merge only wakes up once every check is green, and a comment left while it works is read before the next stage. ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Approve the deploy | | Esc | Deny it | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/task-to-merge ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Voice mode — Detent > A voice call that writes its own notes. As you talk, the page beside it fills in: notes as they’re said, to-dos with an owner and a date, and the ones the assistant does itself ticked off, with Undo. Canonical: https://detentui.com/blocks/voice-mode Last updated: 2026-12-04 ## About A voice call that writes its own notes. As you talk, the page beside it fills in: notes as they’re said, to-dos with an owner and a date, and the ones the assistant does itself ticked off, with Undo. ## Details - The conversation reads down the left: the line being spoken large, filling in word by word, earlier turns quiet above it. - The notes sit beside the call on one page. Each new line lands with a brief highlight, so you see what it just heard. - To-dos get an owner and a due date. When the assistant does one itself, it ticks it, says what it did, and offers Undo. - Every to-do is a real checkbox: tick it off yourself during the call or after. - When the call ends, a short summary appears at the top of the page, and the call says how many notes and to-dos it left. - Talk over it and it stops mid-sentence, marks the line as interrupted, and listens. - The controls are one dock: mute and captions, a hairline, then End, a red pill that says what it does. Before and after the call it’s one Call pill in the same place. - Below 896px the page folds away and the newest note shows as a chip above the dock. ## Keyboard shortcuts | Keys | Action | | --- | --- | | M | Mute or unmute | | Esc | End the call | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/voice-mode ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Evals — Detent > A candidate prompt against the one in production, case by case, before it ships. Regressions open side by side, and shipping waits for a person to decide each one. Canonical: https://detentui.com/blocks/evals Last updated: 2026-12-04 ## About A candidate prompt against the one in production, case by case, before it ships. Regressions open side by side, and shipping waits for a person to decide each one. ## Details - Each result lands in its row as the run goes, and the pass rate, time and cost count with it, each beside production’s figure. - Above the table, every case as a pair of scores: a hollow dot where production stood, a solid one where the candidate lands, and the line between them drawn as its result comes in. A column opens its case. - What got better is marked Fixed, what got worse Regressed, and an undecided regression keeps a red wash on its row; a tab narrows the table to just the regressions. - A case opens side by side: what the customer wrote, what a good answer does, both versions’ answers and why the grader marked one down. - A person decides each regression: accept it if the grader was too strict, or block the ship. - The Ship button waits until every regression is decided, and a blocked one keeps it shut with the reason written under the header. - Below 1152px the case opens in a sheet over the table; below 768px the totals stack. ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/evals ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Agent dashboard — Detent > One page for the agents you run in production. A sentence says what happened today, the charts show where, and any failed run opens step by step with a retry you approve. Canonical: https://detentui.com/blocks/agent-dashboard Last updated: 2026-12-04 ## About One page for the agents you run in production. A sentence says what happened today, the charts show where, and any failed run opens step by step with a retry you approve. ## Details - The top line is written from your data: how many runs, how many failed, and which tool they failed on after which deploy. - Runs by hour stack failures in red over hatched tracks for the hours still to come, with the deploy pinned on the line. - Run time draws p95 and p50 against yesterday, with your limit across it. Hover any hour for the numbers. - Models split tokens or cost by model, tools show calls and failures by hour, and each agent carries what it may do: reads, opens the form, or asks you. - A run opens in a sheet: scrub through it in time, see each step’s tokens and seconds, and approve a retry with the change spelled out before it runs. - Logs stream in live with search and level filters. Scroll down and new lines wait behind a pill instead of pushing you away. Any line opens its fields and its run. - Spend shows the day so far, the pace to midnight against your cap, and where the money went by agent and by model. - Loading, empty and error keep the exact same layout, so nothing jumps when data lands. Runs and logs are virtualized, so 10,000 rows scroll like 10. - Built for the AI SDK: register the recorder once and every generateText and streamText call lands here with its model calls, tokens, cost, tool calls and errors. Logs stream over one route. - Below 900px the side column stacks under the charts; below 640px the stats go two across and the run sheet fills the width. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ← → | Scrub a run | | Esc | Close a run | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/agent-dashboard ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Support inbox — Detent > A support inbox the AI has already been through. Everything sorted, replies drafted with their sources, and nothing in the list ever moves. Canonical: https://detentui.com/blocks/support-inbox Last updated: 2026-12-04 ## About A support inbox the AI has already been through. Everything sorted, replies drafted with their sources, and nothing in the list ever moves. ## Details - New conversations are sorted as you watch: each takes its label in turn, and the one line above the list says what the assistant did. - Wherever a reply is needed there’s one waiting, written from what the assistant looked up, with those sources named under it. - The draft streams in with every word already holding its place, so the lines never re-wrap while it writes. Then it’s yours to edit. - Shorter rewrites it in place. Send, and the reply lands in the thread while the box says it’s done. - A thank-you gets no draft, only a suggestion to close it. Rows never move: sorting, drafting and finishing all happen inside a row’s own space. - Below 1152px the views fold away; below 768px the conversation opens over the list, with a way back. ## Keyboard shortcuts | Keys | Action | | --- | --- | | ⌘ ↵ | Send the reply | | E | Mark done | | J K | Next and previous | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/support-inbox ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Onboarding — Detent > A new workspace in four steps, each leaving something real behind: tools connected, the team invited, a first agent created and watched doing its first job. Canonical: https://detentui.com/blocks/onboarding Last updated: 2026-12-04 ## About A new workspace in four steps, each leaving something real behind: tools connected, the team invited, a first agent created and watched doing its first job. ## Details - Connecting a tool says what it’s waiting for, then names the account it joined. - Teammates already in your GitHub organization are suggested, each with their orb; one press adds them, one more sends the invites. - Templates show which of their tools you’ve connected and fade the ones you haven’t, so the right first agent is obvious. - The new agent does its first job in front of you, step by step, before you hand it anything real. - One question at a time, set in the middle of the page in two tones, with its answer and the way on right under it; four segments at the top fill as steps finish. - Beside the steps, the workspace is a real window that comes alive: tools land in its sidebar, people join, the agent appears, and its activity says what you did, ending with the first run, live. - Below 1024px the window folds away and the first run plays beside the question instead. ## Placement Its own route, centred, full height, with nothing else on the screen. ## Install (Pro required) ```bash npx shadcn add @detent-pro/onboarding ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Sign in — Detent > Google or GitHub in one press, or a code by email. Then pick a workspace and you’re in. Canonical: https://detentui.com/blocks/sign-in Last updated: 2026-12-04 ## About Google or GitHub in one press, or a code by email. Then pick a workspace and you’re in. ## Details - Google and GitHub sit first, with their real marks. GitHub asks for consent the way GitHub does: who’s asking, exactly what they’ll see, and one green button. - The email code arrives the way it does on a phone: a notification you can tap, and a suggestion under the field that fills it in. - Every stage holds the same place and crossfades, so nothing on the page moves between them. - The line under the email field is held for the hint or the error, so the button below it never jumps. - A wrong code shakes and clears from the end; a right one fuses the cells and sweeps green. - Beside the form, what’s waiting on the other side keeps its shape with its words redacted. Once you’re in, the rows come into focus one by one, each in the space it already had. - Below 896px the form has the window to itself. The providers, the product, the workspaces and what’s waiting are all props. ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Continue | | ⌘ V | Paste a code | ## Placement Its own route, centred, full height, with nothing else on the screen. ## Install ```bash npx shadcn add https://detentui.com/r/sign-in ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Settings — Detent > A whole settings area where every page is real: API keys with spend this month, members with roles, the workspace, and security with a careful danger zone. Canonical: https://detentui.com/blocks/settings Last updated: 2026-12-04 ## About A whole settings area where every page is real: API keys with spend this month, members with roles, the workspace, and security with a careful danger zone. ## Details - Every item in the sidebar is a page that works. Keys and people are dense tables with a search, owners and last use; the workspace and security are short forms whose Save only wakes once something has changed. - Each key shows its spend against its monthly limit as a row of cells that warm toward amber as it nears the limit, so the one about to run out is the one you notice. - A new key is made in a side sheet in three steps, details, review and secret, and the review shows the same request as a curl call, filled in with what you chose. - A new key is shown once, and it decrypts into place, one character settling after another, so you know it’s real. - Copying it blooms once; the new key lands at the top of the list with a soft highlight that fades as you take it in. - Rotating changes the key in place, column by column, and keeps the old one working for a day, with the time left counting down beside it. - Invites arrive as pending, with a way to resend, and never reorder the people already there. - Deleting the workspace takes a deliberate hold, and even then there’s a week to undo it. - The sheet opens over the list, not over the page, so the sidebar stays where it was; Escape closes it until the secret is showing. ## Keyboard shortcuts | Keys | Action | | --- | --- | | Enter | Create the key | | Space | Hold to delete | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/settings ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Code review — Detent > A pull request where the agent answers your comments with a change you can apply in one press. Canonical: https://detentui.com/blocks/code-review Last updated: 2026-12-04 ## About A pull request where the agent answers your comments with a change you can apply in one press. ## Details - A comment sits on the line it’s about. The agent answers in the thread, a word at a time, with the reasoning first. - Its suggested change is shown in full before you take it, and its space is held while it writes, so nothing jumps when it appears. - Apply it and the line lands in the diff as a marked edit with one sweep of green; the lines below glide down to make room. - The thread resolves to one line you can reopen, and the file counts as viewed. - A new commit means every check runs again, one segment at a time, and the review turns from changes requested to approved. - The files already viewed sit folded above the one being discussed, and the activity only ever grows at the bottom, in room held for it, so nothing on the page moves. - Below 768px the file list folds away; below 1152px the summary moves under the diff. ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/code-review ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Incident — Detent > An incident page built around the number that broke. Every event in the activity is pinned to the line it changed, from the first drop to the fix going out. Canonical: https://detentui.com/blocks/incident Last updated: 2026-12-04 ## About An incident page built around the number that broke. Every event in the activity is pinned to the line it changed, from the first drop to the fix going out. ## Details - The metric that broke leads the page: what it is now, what it was before the release, and the gap shaded between them. - Each event sits on the line at the moment it happened. Hover one in the activity and its point lifts with a label; hover a point and its event lights up. - The cause arrives as a sentence with the file under it, folded open on the two lines that changed. - The fix is a pull request whose checks fill one segment at a time. Only when they are green does one question appear above the composer: ship it, or not now. - Ship it and the line draws its way back up in green while the number rolls to where it was, and the status turns Fixed. - Status, priority and owner are menus, and every change you make lands in the activity with your name. J and K move between incidents. - Below 768px the two panels stack and the page scrolls as one. ## Keyboard shortcuts | Keys | Action | | --- | --- | | J | Next incident | | K | Previous incident | | Esc | Close a menu | ## Placement Its own route, filling the area below the app header (full width, at least the viewport height). Not inside a card or beside other content. ## Install (Pro required) ```bash npx shadcn add @detent-pro/incident ``` ## Related - [All blocks](https://detentui.com/blocks) - [Pro](https://detentui.com/pro) --- # Dusk — Detent Template > The landing page for an agent that guards what AI writes: one dusk sky lights the hero, the night falls as you reach the end, and the product works in every section, finding, fixing and waiting for a yes. Canonical: https://detentui.com/templates/dusk Last updated: 2026-12-04 ## About The landing page for an agent that guards what AI writes: one dusk sky lights the hero, the night falls as you reach the end, and the product works in every section, finding, fixing and waiting for a yes. **Type:** Landing page **Suits:** a backend and security agent ## Sections - Hero — The whole hero is an evening sky: the headline under a glass pill with a light running round its edge, one bright dock, the teams on the horizon, and the product window, revealed by its own border drawing in as the page loads. - Promises — Three promises in an open row, each told as a flow: what was asked or found, the steps on one wire, and the card it lands on, which lights once as the wire reaches it. - How it works — One investigation window with its evidence, then a fix tested on a shadow branch and a change that waits for a person. - What it watches — Four tabs in a bezel: policies, secrets, migrations and deploys, each with the run that caught it and the code it wrote. - Customers — Five teams in a row: the open card spreads out over a live silk shader in its own colour, with the quote, the person and what Dusk did for them. - Pricing — Three plans in an open row ruled by hairlines, the one most teams pick lit from its top edge. - Questions — The heading holds still on the left while tall rows of questions run down the right, the first one open. - Call to action — One row to close: the line on the left, the two buttons on the right, then the link bar. - Footer — The page lifts off a still footer with the wordmark standing in the night sky, then slides back over it. ## Install (Pro required) ```bash npx shadcn add @detent-pro/template-dusk ``` ## Related - [All templates](https://detentui.com/templates) - [Pro](https://detentui.com/pro) --- # Detent — Detent Template > The app for an AI agent that works across your tools: sessions down the side, a thread that shows its work as it goes, and a composer that takes photos, files, tools and skills, queues what you ask while it answers, and sets how hard it thinks on a ramp of dots. Canonical: https://detentui.com/templates/detent Last updated: 2026-12-04 ## About The app for an AI agent that works across your tools: sessions down the side, a thread that shows its work as it goes, and a composer that takes photos, files, tools and skills, queues what you ask while it answers, and sets how hard it thinks on a ramp of dots. **Type:** Full app **Suits:** an agent that works across your tools ## Sections - Sessions — Pinned, renamed, archived with an undo, filtered by project; a clock on any with a question waiting. - Thread — The plan ticking off as it works, the diff written line by line and the tests printing as they run, a pause before any command it isn’t trusted with, then charts, terminals, the PR and sources in the answer. - Composer — @ for tools, / for skills, photos pasted or dropped, dictation, and Plan first. - Up next — What you ask while it answers waits in order: send one now, take it back to edit, or drop it. Stopping holds the rest until you resume. - Model and reasoning — Each model with its mark and what it’s for, and reasoning on a ramp of dots that lights up to the playhead. - Photos — Photos sit in the thread at their own shape, and open full size out of their tile. - Review — The change it made, file by file, beside the chat and ready to merge. - Search — ⌘K across every session, or ask about what you typed instead. - Settings — Theme with three dark styles, what it knows about you, models, connected apps and their scopes, and your data. - Automations — Sessions that start themselves, on a schedule or when something happens. ## Install (Pro required) ```bash npx shadcn add @detent-pro/template-detent ``` ## Related - [All templates](https://detentui.com/templates) - [Pro](https://detentui.com/pro)