Rushie

Interactions · motion template

Error shake toast

An error alert drops in and shakes, its warning icon draws and glows red (or amber for a warning), then a pointer presses Retry and a spinner takes the button before it collapses away, as a neutral card or a solid-colour one: failed payments, form errors and 'what not to do' moments.

16:9hover to playtap to play
9:16hover to playtap to play

1 credit to render, plus a standard licence for each catalogue picture it uses (4 credits each). Licences are free on Rushie at the moment, so an order costs 1 credit. Rendered to MP4 in about a minute, 5 seconds by default. The clip is yours alone: never listed, delivered as a private download link, and refunded if it cannot be made.

erroralertwarningshakedeclinedfailedtoastretryinvalidform errorapp uimicro interaction

Parameters

Everything this template takes. Anything you leave out keeps its default; a value out of range is refused with a sentence before anything is charged.

ParameterAcceptsDefault
titleBold first line of the alerttext, up to 32 characters“Card declined”
messageExplanation under the titletext, up to 100 characters“Your bank declined the payment. Check the card details or try another card.”
ctaThe button the pointer pressestext, up to 12 characters“Retry”
secondaryThe quieter second button, or empty to hide ittext, up to 12 characters“Dismiss”
toneAn error (your accent, a circle with an exclamation mark) or a warning (amber, a triangle)one of error, warningerror
styleA neutral card with a coloured icon and glow, or a card filled with the alert colourone of card, solidcard
backdropWhat is behind it: a dark or a light studio, pure chroma-key green (#00b140, no shadows on it) to key over your footage, or your pictureone of dark, light, green, imagedark
imagePicture behind it when the backdrop is a picturea picture: asset:<id> or subject:<words>a catalogue picture
aspectFrame shapeone of 16:9, 9:16, 1:1, 4:516:9
durationSecondsseconds, 3 to 155
backgroundBackground coloura colour, e.g. #f4b942#0b0d12
foregroundText coloura colour, e.g. #f4b942#f5f5f2
accent__remotion-colora colour, e.g. #f4b942#ef4444
fontTypeface family: sans (Inter), serif (Source Serif 4), mono (JetBrains Mono), or a display face: display (Fraunces), grotesk (Space Grotesk), condensed (Oswald), expressive (Bricolage Grotesque)one of sans, serif, mono, display, grotesk, condensed, expressivesans
localeLanguage and region the frame is drawn in (BCP 47, e.g. fr-FR): numbers, month and day names, and the interface words a template paints. Interface words are translated for en, fr, es and de; text you pass in other parameters is drawn as giventext, up to 35 characters“en-US”
uiTextInterface words to replace, keyed by the English word the template draws ("Today": "Ce soir"); "" hides onean object with {}

From your assistant

With Rushie connected, ask in plain words and name the template, or let it choose. These are the calls it makes. Connect an assistant.

design_motion({"brief": "<what it is for, in a sentence>", "template": "error-shake-toast"})
    -> designs on this template, every parameter filled, free
make_motion({"template": "error-shake-toast", "props": {"title": "Card declined", "message": "Your bank declined the payment. Check the card details or try another card.", "cta": "Retry", "secondary": "Dismiss", "image": "asset:a_d692881ab9ac", "aspect": "16:9"}, "max_credits": 20})
    -> request_id
check_commission({"request_id": "req_..."})
    -> rendering, then the private download link

Make it from code

One request with an API key from your account, then poll GET /api/bank/request/<id>. See motion design for the rest.

curl -X POST https://rushie.ai/api/bank/motion \
  -H "Authorization: Bearer rsh_..." \
  -H "Content-Type: application/json" \
  -d '{"template": "error-shake-toast", "props": {"title": "Card declined", "message": "Your bank declined the payment. Check the card details or try another card.", "cta": "Retry", "secondary": "Dismiss", "image": "asset:a_d692881ab9ac", "aspect": "16:9"}, "max_credits": 20}'