Skip to content
UI Kit
Accent color

AI features

Sections that show what AI does in a product, in six layouts: an assistant in the app, prompt to result, an agent working through steps, with and without AI, model choice with privacy and a live playground.

6 variants
Switch category

AI features

Assistant in the product

An assistant panel beside the app, the conversation plays in when it scrolls into view.

Open in Studio

Prompt to result

Example prompts type themselves, the result appears as a finished piece of work.

Open in Studio

Agent at work

An agent works through its steps one by one, the result opens at the end.

Open in Studio

With and without AI

The same job twice, each step as a bar, the saved share at the end.

Open in Studio

Model choice and privacy

Pick a model by speed and depth, the privacy promises stay in view.

Open in Studio

Live playground

Edit the text, pick a mode and watch the output write itself. The demo function runs in the browser.

Open in Studio

Details

What AI features brings along, read from the registry and the source.

Variants
6
Version
1.0.1 · since 1.0.0
File
components/ui/ai-features.tsx
Brings along
utilskiticonsectionbutton
npm packages
None
Languages
English and German, 33 texts of its own
In collections
AI product

Props

The AiFeaturesProps interface from components/ui/ai-features.tsx, with the comments from the code.

  • variantoptional
    AiFeaturesVariant

    assistantprompt-resultagentcomparisonmodelsplayground

  • eyebrowoptional
    React.ReactNode
  • titleoptional
    React.ReactNode
  • descriptionoptional
    React.ReactNode
  • actionsoptional
    React.ReactNode
  • pointsoptional
    string[]

    Short points beside the visual

  • mediaoptional
    React.ReactNode

    assistant: the app behind the panel, the conversation and suggested questions

  • conversationoptional
    AiMessage[]
  • suggestionsoptional
    string[]
  • examplesoptional
    AiExample[]

    prompt-result

  • taskoptional
    { goal: string; steps: AiAgentStep[]; result: React.ReactNode; time?: string }

    agent

  • withoutoptional
    { label: string; minutes: number }[]

    comparison

  • withAioptional
    { label: string; minutes: number }[]
  • modelsoptional
    AiModel[]

    models: choices and privacy promises

  • privacyoptional
    { icon?: IconName; title: string; description?: string }[]
  • modesoptional
    AiMode[]

    playground: modes, the sample text and the function that writes the output

  • sampleoptional
    string
  • generateoptional
    (text: string, mode: string) => string

Built-in texts

AI features writes these texts itself. The language follows the KitProvider, the labels prop replaces single ones.

Show all 33 texts
assistantEnglish AssistantGerman Assistent
askEnglish Ask anythingGerman Frag etwas
sendEnglish SendGerman Senden
thinkingEnglish ThinkingGerman Denkt nach
examplesEnglish ExamplesGerman Beispiele
resultEnglish ResultGerman Ergebnis
promptEnglish PromptGerman Auftrag
goalEnglish GoalGerman Ziel
runningEnglish WorkingGerman Arbeitet
queuedEnglish QueuedGerman Wartet
doneEnglish DoneGerman Fertig
replayEnglish Run againGerman Noch einmal
finishedEnglish Finished inGerman Fertig nach
stepsEnglish stepsGerman Schritte
withoutEnglish Without AIGerman Ohne KI
withEnglish With AIGerman Mit KI
totalEnglish TotalGerman Gesamt
savedEnglish savedGerman gespart
minutesEnglish minGerman Min.
modelEnglish ModelGerman Modell
speedEnglish SpeedGerman Tempo
qualityEnglish DepthGerman Tiefe
privacyEnglish PrivacyGerman Datenschutz
inputEnglish Your textGerman Dein Text
outputEnglish OutputGerman Ergebnis
generateEnglish GenerateGerman Erzeugen
generatingEnglish WritingGerman Schreibt
copyEnglish CopyGerman Kopieren
copiedEnglish CopiedGerman Kopiert
resetEnglish Reset textGerman Text zurücksetzen
demoEnglish Runs in your browser, nothing is sent.German Läuft in deinem Browser, nichts wird gesendet.
modeEnglish ModeGerman Art
wordsEnglish wordsGerman Wörter

Accessibility

Read from the source of the component.

  • AI features handles the keys Arrow up, Arrow down, Arrow left, Arrow right and Space itself.
  • Sets aria-busy, aria-checked, aria-controls, aria-label, aria-labelledby, aria-live and aria-selected, so screen readers announce purpose and state.
  • Uses the roles img, radio, radiogroup, tab, tablist and tabpanel.
  • Announces changes through a live region without moving focus.
  • Every field has a label, visible or for screen readers.
  • Adds text for screen readers where icons and graphics stand alone.
  • Shows a visible focus ring when used with the keyboard.
  • The server renders the starting state in full, JavaScript only adds the interaction.

Motion

  • Rises in briefly the first time it comes into view (kit-rise, useInView).
  • Brings animations of its own, calmly timed and without wobble.
  • With reduced motion (prefers-reduced-motion) it stays still. 17 places in the code switch motion off then.

Frequent questions

How do I install AI features?

With aiw add @ai-website/ai-features. The command puts components/ui/ai-features.tsx into your project, the code is yours from then on. It brings along icon, section and button. It needs no further npm packages.

Which variants does AI features have?

6 variants, Assistant in the product, Prompt to result, Agent at work, With and without AI, Model choice and privacy and Live playground. You pick one with the variant prop, for example variant="prompt-result".

Can I translate the texts of AI features?

Yes. AI features carries 33 texts of its own in English and German, such as “Assistant”, “Ask anything” and “Send”. The language follows the KitProvider, single texts change through the labels prop.

Can an AI assistant build with AI features?

Yes. Through the MCP server of the aiw CLI, Claude, Cursor, GitHub Copilot, Windsurf, Codex and Gemini find AI features with aiw_components and install it with aiw_add @ai-website/ai-features. Name the variant in your prompt, for example variant="assistant", and the assistant writes your content straight into the props.

Can I adjust AI features without code?

Yes, in the Studio. All 6 variants are editable there, texts, lists and switches. The Studio writes the matching AiFeatures code to copy.

Often searched

Jump to

Copied to the clipboard