Remoogle
Quiz Question
Quiz Question 미리보기
장면

Quiz Question

@remotionui/quiz-question

출처 RemotionUI

Question, options, correct-answer reveal

설치

npx remotion-ui@latest add quiz-question

Props (16)

  • questionstring= "What does the RemotionUI CLI actually do?"

    The question, set at display size.

  • optionsstring[]= 4 sample answers

    Answer options in display order. Four is the readable maximum at 1080p.

  • correctIndexnumber= 1

    Index of the right answer.

  • pickedIndexnumber= 2

    Index 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.55

    Second the first option arrives.

  • staggerSecondsnumber= 0.2

    Seconds between options.

  • pickAtSecondsnumber= 1.75

    Second the pick lands.

  • revealAtSecondsnumber= 2.35

    Second the right answer is revealed.

  • holdSecondsnumber

    Seconds 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.

  • backgroundColorstring

    Page behind the card. Defaults to the theme page colour.

  • theme"dark" | "light"= "dark"

    Surface palette.

  • speednumber= 1

    Animation speed multiplier.

의존 컴포넌트

npm 패키지

카테고리