Question Card

Collect controlled option or custom answers in a question sequence.

Question Card

Default

Bind answers and activeIndex together. Only an enabled option or nonempty custom answer can advance. Optional questions may be skipped. Submit emits the answer collection after the final question; Ctrl/Command+Enter advances without interfering with IME.

API

PROPS

Property
Type
Description
default
Example
More
questions
[]
Ordered questions with stable ids, options, custom-answer and optional flags.
[]
v-model
[]
Controlled answer descriptors.
[]
v-model:active-index
Number
Controlled zero-based question position, clamped to the available range.
0
title
String
Heading text; process lists use a localized fallback.
—
disabled
Boolean
Disable component actions.
false

EVENTS

Event
Type
Description
default
Example
More
update:modelValue
(answers: []) => void
Controlled model update requested.
—
—
update:activeIndex
(index: number) => void
Question navigation requested.
—
—
submit
(answers: []) => void
Validated content submitted.
—
—
skip
(question: ) => void
An optional question was skipped.
—
—

SLOTS

Slot
Description
default
Example
More
question
Add supporting question content using the controlled update callback.
—
—
Last Updated: 2026-10-28, 06:17:56 UTC
Copied