VelaConceptInteractive preview
Vela: Trial started
An iOS welcome screen after starting a free trial: a moon that fills, the agreed plan, price and end date, a reminder switch and a short first-night setup.
- Category
- Paywall
- Platform
- iOS
Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Default state
Use this screen
Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.
FreeReact 18+Tailwind v3.4 or v4No extra packages
1. Add it with the shadcn CLI
npx shadcn@latest add https://www.thatdesignui.com/r/screens/vela-trial-started.json2. Use it
Every prop is optionalapp/page.tsx
import VelaTrialStarted from "@/components/vela-trial-started";
export default function Page() {
return <VelaTrialStarted />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- The same iOS phone frame and night gradient (#0f1033 to #2a1b4d) with #f3e9ff text, amber #ffb86b accent and rounded font as the Vela paywall.
- A 148px moon at the top among twinkling stars: it starts as a thin crescent and fills to full over about two seconds while an amber ring draws around it, then a 36px amber check badge pops onto its lower right. A 'Free trial active' pill with a pulsing amber dot, a 28px 'You’re in. Sleep well tonight.' heading and a short line.
- A plan card (22px radius, translucent white over the night): an amber moon tile, 'Vela Plus' over 'Yearly plan', an outlined amber 'Change plan' button, two inset cells 'Free until Thu, Mar 19' and 'Then $59.99 / year', and an iOS-style 51x31 amber switch 'Remind me 2 days before' (on by default) whose line names the reminder date (Tue, Mar 17) or, when off, says the trial still ends Thu, Mar 19.
- 'Set up your first night' with an 'n of 2 set' counter: a bedtime card (10:30 pm by default) with Hour and Minutes steppers (40px minus and plus buttons; minutes step by 5) and a wind-down time 30 minutes earlier, and a three-option sleep-sound radio row (Soft rain, Ocean, Fireplace) where the chosen tile has an amber border and a tiny moving equaliser. Each step's number turns into an amber check once it is used.
- A sticky 56px amber 'Begin tonight’s session' button with the chosen sound and lights-out time under it; pressing it shows 'Dimming the lights…' and then an outlined 'Tonight is all set' with the wind-down time.
How it behaves
- On load the moon fills from crescent to full, the ring draws and the check pops in once; with reduced motion the moon is already full and nothing animates.
- The plan, price and trial end date match what was chosen on the paywall; with no props it shows Yearly plan, Thu, Mar 19 and $59.99 / year.
- The reminder switch announces role=switch with aria-checked and its line changes between the Mar 17 reminder and 'No reminder'; the Reminder off state starts with it off.
- Pressing the hour plus button changes 10:30 pm to 11:30 pm and the wind-down to 11:00 pm, ticks step 1 and moves the counter to '1 of 2 set'; picking a sound (click or arrow keys) ticks step 2.
- Begin tonight’s session shows 'Dimming the lights…' then 'Tonight is all set'; changing the bedtime or sound afterwards returns the button to its normal label.
- Change plan calls onChangePlan (or, on its own, switches between Yearly and Monthly and announces it); nothing scrolls sideways at 375px.
