Research sources
A list of sources with relevance, excerpt and status.
3 of 5 sources used in the answer
Is a spinner motion? A thread
forum.example.net
Opinions differ, but most agree that essential indicators of progress can stay if they are small and calm.
forumSkimmed55%
Motion design guidelines, chapter 7
docs.example.dev
Duration and easing tokens, and when to skip animation entirely.
docsNot read yet48%
When to use
- An assistant gathers material and the user may check it.
- Sources should be selectable.
When not to use
- There is only one source; cite it inline.
Installation
pnpm dlx shadcn@latest add @caliper/research-sources
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
ResearchSources
4 props
Keyboard
- Keyboard and focus come from Radix popover: arrow keys move through items, Enter and Space select, and Escape closes and returns focus.
Accessibility
It exposes status, group and img semantics, with aria-label, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/research-sources.mdThe index of every part is at /llms.txt.