How I turned the small animations on prezent.ai and inside the product into one motion language, and what 6,548 keyframes told me about it.
B
Balakrishnan CVProduct & UX Motion Designer · 7 min read · Nov 2026
Motion designDesign systemsAI products
Prezent is an AI workspace built for life sciences teams. You describe what you need and Astrid, its AI agent, builds it: a presentation, a poster, a literature review, a brochure, a diagram or a flowchart, with expert reviewers on call overnight. Every one of those features ships with small animations: a Lottie loop on prezent.ai that explains it, and the menus, panels, toasts and progress states inside the product. Over two and a half years I made a lot of them.
Animations made one at a time drift apart. So I wrote the motion down as five principles, a small set of tokens and a spec for every component. These guidelines are what the website animations and the in-product motion follow. This article walks through them using the real thing, with Literature Review, one of the newest features, as the running example. Every demo below is rebuilt from the production Figma files and runs on the tokens it describes.
Powered by Astrid AI. Astrid AI can make mistakes. Please double-check the results.
We take confidentiality very seriously and we’ll keep your information secure. Learn more
Premium
Search
Menu
3454
What would you like to create?
Presentation
Poster
Literature Review NEW
Efficacy of antidepressants in the treatment of major depressive disorder.
Data Sources
Date Range
Interactive Review
RECENT REVIEWS
Impact of GLP-1 receptor agonists on cardiovascular outcomes in adults with type 2 diabetes
Create a new abstract draft on the topic of portfolio revenue & market share highlights, regional performance - US/EU/ROW, pipeline & launch milestones. Refer attached files for launch milestone
Transforming the question into targeted queries
Step 1 of 9
Type your request here
Learn how to use the AI Editor Click here
Aspirin & Heart Health Report March 2026
Create New
Building your Document…
Transforming the question into targeted queries
Searching PubMed and Europe PMC
Screening titles and abstracts
Broadening the population where evidence is thin
Backward and forward citation chaining
Building citable evidence spans
Writing the literature review
Verifying every claim against its sources
Premium
Search
Menu
3454
Evidence
Supporting evidence for key data points and claims in generated document
In one double-blind trial of liraglutide added to standard care in patients with type 2 diabetes and high cardiovascular risk, 9340 patients underwent randomization and median follow-up was 3.8 years.
REFERENCE ALLOWLIST
BYTE-EXACT QUOTE
NUMERIC EXACTNESS
INDEPENDENT ENTAILMENT (0.85)
S4 RESULTS
Abstract
A total of 9340 patients underwent randomization.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
S4 RESULTS
Abstract
The median follow-up was 3.8 years.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
S4 RESULTS
Abstract
The median follow-up was 3.8 years.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
Aspirin & Heart Health Report March 2026
Create New
AI Editor
Evidence
Reference
Method
Verification
My Input
Download
Feedback
41
Claims verified
16
Withheld
11
Sources cited
Show withheld claims in place
AskHand offAI at workVerify
Literature Review, start to finish. The question hands off to the AI Editor, eight named steps run, and the review arrives with its evidence and claim counts.
The same language, on film
The guidelines cover the launch films too: the long durations and the Travel curve were written for them. These loops are from the Literature Review launch film, the same feature as the flow above, told for buyers instead of users.
Loop
Sources branch. The question fans out to Web, PubMed and PMC, with live counts.
Loop
Papers resolve. Scattered papers settle into one structured review.
Loop
Every claim. Each claim draws a line back to its source.
Loop
Trace and verify. The verification panel opens with the checks behind the review.
The hard part: AI that takes minutes
Most interface motion lasts a fraction of a second. Literature Review can work for minutes: it turns a question into Boolean searches, searches PubMed and Europe PMC, screens titles and abstracts, chains citations, writes the review and then checks every claim against its source.
A spinner hides all of that. People trust what they can watch, so the AI moments became the centre of the system. The rest of the guidelines grew out of them.
Five principles
Show the work. When the AI takes more than two seconds, show its steps. Each step moves forward on a real event, never on a timer.
One thing at a time. Lead the eye in reading order. Lists stagger by 40ms, capped at six items so nothing waits too long.
Fast in, gentle out. Things arrive quickly and settle softly. Exits run one step shorter, because the user has already moved on.
Motion confirms. Bounce is kept for success moments only.
Built to ship. Every value exists as frames, milliseconds and code, so nothing is handed off as "make it feel nice".
Every movement has to answer a question: what changed, where did it go, what happens next.
Counting in frames
I build in After Effects, so I think in frames. Engineers ship milliseconds. The duration scale has both, at 60fps:
Token
Frames
ms
Used for
xs
6f
100
Press, hover, tick
sm
12f
200
Menus, chips, scrims
md
18f
300
Panels, modals, toasts
lg
30f
500
Expanding rows, count-ups
xl
48f
800
Website and film
There are five curves, and each has one job. Arrive brings things in, Leave takes them out and never bounces, Travel moves things that stay on screen, Land is for success only, and Linear is for progress and timers, never for objects.
ArriveEntering
LeaveExiting
TravelMoving on screen
LandSuccess only
LinearProgress, timers
The five curves. The same cubic-bezier values go to CSS, After Effects presets and video templates.
Distances stay small: 8px for menus, toasts and chips, 24px for panels and cards. Nothing travels across the screen in product UI. On the website, where people watch rather than act, every duration moves up one step and animations are built at 30fps on 10-frame steps. A panel that takes md in the product takes lg in a website loop, on the same curve, so it reads as the same panel.
···
The components
Each pattern below is the real component, rebuilt layer by layer from Figma. Under each one, “Motion spec” opens the exact layer, change, delay, duration and curve. Those tables are generated from the same data that drives the animation, so the spec and the motion can't disagree.
Naming what the AI is doing
The step list is the heart of it. Each step gets a spinner while it runs and a check that lands when the system reports it done. A step stays on screen for at least 600ms, even if it finishes sooner. That's a reading minimum, not fake progress.
Transforming the question into targeted queries
Searching PubMed and Europe PMC
Screening titles and abstracts
Broadening the population where evidence is thin
Backward and forward citation chaining
Building citable evidence spans
Writing the literature review
Verifying every claim against its sources
AI step list. Spinner on the active step, then a check that lands. Text turns dark as the step starts.
A-01A-02A-03
Motion spec
When the AI suggests search terms, they land one by one in reading order. If someone adds a duplicate, the existing chip flashes and a short message explains the problem. Nothing shakes.
Who: Major depressive disorder
Subject headings
Depressive Disorder, Major
Depressive Disorder
Depression
Add heading...
Other words
major depressive disorder
major depression
major depressive episode
unipolar depression
unipolar depressive
bipolar disorder
persistent depressive disorder
cyclothymic disorder
seasonal affective disorder
endogenous depression
Add word...
Search-term chips and inline error. Point at the chip that causes the error and tell the user what to do.
N-03F-03
Motion spec
Expanding content is where lists usually jump. Turning on the study rationale opens each explanation, and the rows below move on the same curve and duration, so the list never jumps under the cursor.
Which studies should be included in your review?
I shortlisted 55 studies, with around 12 most relevant to this review. Select or deselect studies to decide which ones will be used to build your review. Only selected studies will be quoted or included in the references
View study inclusion rationale
1. Dapagliflozin versus empagliflozin in patients with heart failure with preserved ejection fraction
European heart journal · 2025 · J Kassab +4 more
RCT of sertraline vs amitriptyline vs placebo in outpatients with DSM-III-R major depression, 8 weeks, reporting HAM-D/MADRS efficacy and discontinuations directly matches PICO
2. Impact of SGLT2 inhibitors on renal outcomes in type 2 diabetes patients
The Lancet Diabetes & Endocrinology · 2023 · M Chen +6 more
Amitriptyline vs placebo in outpatients with DSM-III-R major depression, 8 weeks, reporting HAM-D/MADRS efficacy and discontinuations directly matches PICO
3. Long-term cardiovascular effects of empagliflozin in chronic kidney disease
Journal of the American College of Cardiology · 2024 · L Martinez +5 more
4. Comparative efficacy of dapagliflozin and empagliflozin in reducing hospitalization rates
Circulation · 2023 · S O'Neill +7 more
5. Role of SGLT2 inhibitors in metabolic regulation and heart failure management
Nature Reviews Cardiology · 2022 · T Yamamoto +3 more
6. Empagliflozin's effects on inflammation and oxidative stress in diabetic cardiomyopathy
Diabetes Care · 2024 · A Gupta +4 more
7. Dapagliflozin and exercise capacity improvement in heart failure patients: a randomized trial
European Journal of Heart Failure · 2023 · B Svensson +5 more
8. The role of gut microbiota in cardiovascular health and disease
Nature Reviews Cardiology · 2023 · L Martinez +8 more
9. Advancements in wearable technology for continuous cardiac monitoring
Journal of Medical Devices · 2023 · M O'Connor +3 more
10. Impact of dietary sodium reduction on hypertension control: a meta-analysis
American Journal of Clinical Nutrition · 2023 · S Lee +6 more
Select All
Confirm
Study inclusion rationale. Animate height and the rows below together, with Travel at dur.lg.
P-02
Motion spec
Trust comes from tracing claims. The evidence panel enters from its own edge, the cards follow in reading order, and the cited claim is marked.
Evidence
Supporting evidence for key data points and claims in generated document
In one double-blind trial of liraglutide added to standard care in patients with type 2 diabetes and high cardiovascular risk, 9340 patients underwent randomization and median follow-up was 3.8 years.
REFERENCE ALLOWLIST
BYTE-EXACT QUOTE
NUMERIC EXACTNESS
INDEPENDENT ENTAILMENT (0.85)
S4 RESULTS
Abstract
A total of 9340 patients underwent randomization.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
S4 RESULTS
Abstract
The median follow-up was 3.8 years.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
S4 RESULTS
Abstract
The median follow-up was 3.8 years.
characters 775–825 of the stored document
Marso Steven P., Daniels Gilbert H., Brown-Frandsen Kristin, et al. Liraglutide and Cardiovascular Outcomes in Type 2 Diabetes. N Engl J Med. 2016. open source
Evidence panel. Enter from the panel’s own edge with 24px of travel.
P-01A-05
Motion spec
Feedback that keeps its promises
Success messages leave on their own after five seconds, with a linear timer because it shows real time. Errors stay until they're fixed. Modals rise from 96% scale over a fading scrim, and leave faster than they came.
Content Published
Your blog post 'Modern Minimalism' is now live
for all subscribers.
Success toast. Auto-dismiss after 5s, pause on hover, exit one step faster than the entrance.
F-01
Motion spec
Blog post published
This blog post has been published. Team members will be able to edit this post and republish changes.
Share on Twitter
Share on Medium
Share on Facebook
Cancel
Confirm
Confirmation modal. Scrim on Linear, modal on Arrive, exit on Leave at dur.sm.
P-03
Motion spec
Rules for AI moments
AI features got their own rules, because a wrong animation here makes the product look faster or more certain than it is.
A-01Waits under two seconds get a spinner. Longer work gets a step list that names what the AI is doing.
A-02A step completes only when the system reports it. Progress is never animated on a fake timer.
A-03Each step stays visible for at least 600ms so it can be read.
A-04Results arrive in reading order, 40ms apart.
A-05Evidence opens from the claim it supports, the same way every time.
A-06Withheld or failed items are counted on screen, never quietly removed.
···
Checking it against what shipped
Guidelines only count if the work follows them, so I measured. I read every keyframe in the 57 Lottie files behind the animations on prezent.ai.
57Lottie files
6,548keyframes read
55%on 10-frame steps
Travelmost-used custom curve
More than half of all keyframes land exactly on the 10-frame steps of 333, 667 and 1,000ms, and Travel is the custom curve that appears most. Here are three of those animations, played from the shipped files:
Launch Readiness Review. Attach files, Generate, result. 61% of keyframes on 10-frame steps.Fixed Price Projects. Card opens a “Get in touch” modal. Travel on 24% of keyframes.Shared Workspace. Context menu, share, update. 57% on 10-frame steps.
Not everything matched. About 44% of keyframes still use After Effects' default linear handles, and that's the next thing to clean up. It's also why the export checklist now starts with the token presets.
Shipping it
The guidelines travel with the work. Component frames in Figma carry their rule IDs and token names, so design review and motion review use the same words. In After Effects, the curves exist as presets instead of hand-tuned handles. Website animations ship as Bodymovin JSON, and every Lottie goes through the same checklist: shape layers only, trim paths for draw-ons, expressions baked into keyframes, no 3D, and a test on a low-end Android browser before release.
For engineering, the whole system fits in a few lines:
UI shown is rebuilt from production Figma files for this case study; customer names and unreleased features are left out. Website animations are played from the shipped Lottie files.