Landing
LandingAiPrompt
Scripted assistant demo: question, thinking state and results with actions. It is complete on load and can be replayed; it honours reduced motion.
components/landing/LandingAiPrompt.vue
View in the demo
Example
Ask in plain language and act on the answer
Press Ctrl K from any view. Orbello AI reads your tasks, due dates and workloads, and suggests the next step.
- A weekly summary for each person
- Spots tasks at risk before the deadline
- Only uses data from your workspace
Which tasks are at risk this week?Ctrl K
3 tasks won't make it by Friday with the current workload:
- 2 days lateOffline mode
- 1 day lateiPad screenshots
- No ownerStore listing copy
In your content
Section blocks are rendered by LandingRenderer from the sections array of a landing. Add this one to your content:
sections: [
{
type: 'aiPrompt',
tone: 'surface',
props: { … },
},
]
The props follow LandingAiPromptProps in types/components/landing.ts; the table below lists them.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
queryrequired | string | — | The example prompt. |
thinkingrequired | string | — | The “thinking” text. |
introrequired | string | — | An introduction line. |
resultsrequired | LandingAiResult[] | — | Example results. |
apply-labelrequired | string | — | The apply button text. |
bullets | string[] | [] | Short points with a check. |
shortcut | string | — | A keyboard shortcut to display. |
eyebrow | string | — | A short label above the title. |
title | string | — | The heading of the block. |
description | string | — | The sentence under the title. |
heading-id | string | — | The id of the heading, used by aria-labelledby and anchors. |
align | LandingHeadingAlign | "start" | start or center heading. |