
安装
npx remotion-ui@latest add quiz-questionProps(16)
questionstring= "What does the RemotionUI CLI actually do?"The question, set at display size.
optionsstring[]= 4 sample answersAnswer options in display order. Four is the readable maximum at 1080p.
correctIndexnumber= 1Index of the right answer.
pickedIndexnumber= 2Index picked before the reveal. Set it to correctIndex for a right pick, -1 for none.
eyebrowstring= "Question 3 of 8"Small line above the question. Omit to drop it.
optionsAtSecondsnumber= 0.55Second the first option arrives.
staggerSecondsnumber= 0.2Seconds between options.
pickAtSecondsnumber= 1.75Second the pick lands.
revealAtSecondsnumber= 2.35Second the right answer is revealed.
holdSecondsnumberSeconds the resolved question holds before it retreats. Omit to leave it up.
accentColorstring= "#E8B86D"Eyebrow, and the picked-but-not-yet-resolved state.
correctColorstring= "#7FD1A0"The right answer on reveal.
wrongColorstring= "#E89B9B"A wrong pick on reveal.
backgroundColorstringPage behind the card. Defaults to the theme page colour.
theme"dark" | "light"= "dark"Surface palette.
speednumber= 1Animation speed multiplier.