Repository navigation
Detent UI's first tagged release. 21 free components and 5 free blocks for products built on AI, each installed with the shadcn CLI so the source lands in your project.
npx shadcn@latest add https://detentui.com/r/prompt
For AI apps
- Prompt box: AI chat input whose tray slides out to say what the model is doing
- Model & effort: choose a model, drag how hard it thinks, see the cost
- Diff review: review an AI agent's code change hunk by hunk, unified or split
- Voice note: a waveform that inks in and a transcript that follows
- Rewrite, Buddy and AI calendar
Charts and metrics
- Baseline chart: click any day to compare everything against it
- Outlook chart: a confidence band that thins where it's less certain
- Metric explainer: the number, its change in words and the drivers behind it
- Goal numerals
Moving off AI Elements?
AI Elements is moving to shadcn/ui and 23 of its files were not rebuilt. The README maps each file to the Detent piece that does the same job, and the guides cover the rest: what moved where and six alternatives compared.
Also
- Every piece ships its loading, empty and error states, and respects reduced motion
- Styled by your shadcn theme, light and dark
- Readable by coding agents: llms.txt and a markdown copy of every page
Need whole screens? Detent Pro adds 21 components, 14 full-screen blocks and 2 templates, for one payment.