Logo: Hof Cp Toast

Hof Cp Toast

Organisatioun
openreachtech
hof-cp-toast

Use when showing a transient notification in a repo that consumes @openreachtech/furo-vue — "toast notification", "success/error snackbar", "show a saved message", "notify the user after an action". Routes to FuroToast, FuroToaster.

Iwwersiicht

Editeuropenreachtech
Repositoryhora-skills-ort-furo
Skill-Nummhof-cp-toast
Stären
32
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    openreachtech huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hof Cp Toast an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-furo.git /tmp/hora-skills-ort-furo
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-furo/kit/skills/hof-cp-toast .claude/skills/hof-cp-toast
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hof Cp Toast an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hof Cp Toast automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hof Cp Toast net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

FuroToast / FuroToaster

FuroToast is the controlled toast-stack organism: the parent owns the notification queue in its own reactive array (parcel.toasts) and removes entries itself in response to the dismiss / action events. FuroToaster is a zero-prop wrapper around FuroToast that is mounted once (typically in a layout) and driven imperatively from anywhere in the app through the exported toast helper (toast.show(...), toast.update(...), toast.hide(...), toast.clear(), toast.configure(...)) instead of a parent-owned array. Most pages should reach for FuroToaster + toast; reach for FuroToast directly only when a specific screen must own and render its own notification queue.

  • Layer: organism (both)
  • Import: import { FuroToast } from '@openreachtech/furo-vue'
  • Import: import { FuroToaster, toast } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroToast' / 'FuroToaster'

Read the manifest before writing markup if you need to confirm it's still current — the library may have added props/events since this skill was written.

When NOT to use

  • A persistent inline validation error under a field → use hof-cp-control-block instead, not a toast.
  • A modal that blocks interaction until the user responds → use hof-cp-dialog instead.
  • A floating panel anchored to a specific trigger element (not a viewport-corner stack) → use hof-cp-popover instead.
  • A progress indicator for a multi-step flow → use hof-cp-stepper instead.

Props

FuroToast

PropTypeDefaultNotes
parcelToastParcel | nullnullReactive behavior object.

FuroToaster

PropTypeDefaultNotes
———FuroToaster takes no props; configure it through toast.configure().

parcel fields

FuroToast

FieldTypeDefaultNotes
toastsArray<ToastEntry>[]The queue, owned by the parent. Render order follows the array; remove an entry on dismiss.
position'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right''bottom-right'Viewport placement.
durationInMillisecondsnumber4000Default auto-dismiss in ms. Per-toast durationInMilliseconds overrides it.
swipeDirection'right' | 'left' | 'up' | 'down'derived from positionSwipe-to-dismiss direction. When unset, it follows the position.
labelstring'Notifications'Prefixes the screen reader announcement of each toast. From furo-vue 1.5.0 it also names the toast region. See Naming the toast region.
hotkeyArray<string> | nullnullKeyboard shortcut to focus the viewport (e.g. ['F8']).
maxVisiblenumber3Caps how many toasts render at once (the most recent). The rest stay queued.

FuroToaster

FuroToaster has no parcel array — it takes no props at all. Configure the underlying viewport (position, duration, maxVisible, richColors, …) with toast.configure({ ... }).

Events

FuroToast

EventPayloadFires when
dismiss{ key }A toast closed (timeout, swipe, or close button). Remove it from your array.
action{ key }The action button was clicked. The toast also dismisses afterward.

FuroToaster

FuroToaster emits no events — it never mutates a parent-owned array. It forwards its internal FuroToast's dismiss / action events into its own ToastQueue singleton instead, which is why the toast helper needs no event wiring from the consumer.

Slots

FuroToast

SlotScoped propsDescription
title{ toast }Overrides a toast's title region (falls back to toast.title).
description{ toast }Overrides a toast's description region (falls back to toast.description).

FuroToaster

FuroToaster declares no slots — customize toast content per call through the fields passed to toast.show({ ... }) (title, description, type, actions, …), not through slot markup.

Naming the toast region

labelBefore 1.5.0From 1.5.0
Announcement of each toastPrefixed with labelPrefixed with label
Accessible name of the region, label set (parcel.label or toast.configure({ label }))The fixed English name Notifications (F8), whatever label holdslabel, with any {hotkey} placeholder filled
Accessible name of the region, label unset (FuroToast or FuroToaster)Notifications (F8)Notifications (F8)
  • In every Notifications (F8) above, a hotkey the app sets takes the place of F8.
  • From 1.5.0, pass label in the app's own language, through parcel.label on FuroToast or toast.configure({ label }) for FuroToaster.
  • A set label replaces the whole default name, hotkey hint included. To keep the hint, write the {hotkey} placeholder into the label, as in label: '通知 ({hotkey})'; the region fills it with the shortcut, F8 unless hotkey says otherwise.
  • On 1.4.0, no parcel key renames the region, so a localized app still exposes the English Notifications (F8). Raising furo-vue to 1.5.0 is the fix.

From 1.5.0 the built-in close button takes its size from --size-close-button-small; before 1.5.0 it is a fixed 1.25rem. Override the token as /hof-lib-tokens describes to reach a larger touch target.

A consumer id does not land

An id written on <FuroToast> is not surfaced in the rendered DOM. Do not hang a <label for>, an aria-* reference, or an E2E hook off it — put it on a wrapper element you own, or on the content you pass through a slot.

Usage

Imperative usage with FuroToaster + toast (mount once, call anywhere):

vue
<!-- layouts/default.vue -->
<script>
import {
  FuroToaster,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroToaster,
  },
}
</script>

<template>
  <div class="unit-layout">
    <slot />

    <FuroToaster />
  </div>
</template>
vue
<!-- any page/component Context, after a mutation succeeds -->
<script>
import {
  toast,
} from '@openreachtech/furo-vue'

export default class SaveIssuePageContext {
  async onSubmitSave () {
    const key = toast.show({
      title: 'Saving...',
      type: 'loading',
    })

    await this.saveIssue()

    toast.update(key, {
      title: 'Saved',
      type: 'success',
    })
  }
}
</script>

Controlled usage with FuroToast, when a screen must own its own queue:

vue
<script>
import {
  FuroToast,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroToast,
  },
}
</script>

<template>
  <FuroToast
    :parcel="{ toasts: context.notificationQueue, position: 'top-right' }"
    @dismiss="context.onDismissNotification({ key: $event.key })"
    @action="context.onNotificationAction({ key: $event.key })"
  />
</template>

Rules (per project conventions)

FuroToast / FuroToaster are not form controls — neither exposes a value parcel field, so there is no v-model:value contract here (unlike FuroTextarea/FuroTextField). Follow these contracts instead:

  • For FuroToast, pass parcel.toasts down from a page/component Context-owned array, and remove the matching entry from that array yourself inside the dismiss (and, where relevant, action) event handler — the component never mutates your array for you.
  • For FuroToaster, never pass props or listen for events — drive it only through the imperative toast.show() / toast.update() / toast.hide() / toast.clear() / toast.configure() helper, called from the page/component Context (e.g. inside an on{Action} method), not inline in the template.
  • Never import the underlying headless primitive directly. ToastQueue is a public export of @openreachtech/furo-vue, but drive toasts through the toast helper (toast.show/update/hide/clear/configure) rather than reaching for ToastQueue directly, unless you specifically need to build a custom queue consumer.
  • Pass only the parcel keys this skill lists. A component reads the keys it names and ignores the rest, so a mistyped key changes nothing and reports nothing, so check a key against the manifest rather than trusting silence.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hof Cp Toast?

Use when showing a transient notification in a repo that consumes @openreachtech/furo-vue — "toast notification", "success/error snackbar", "show a saved message", "notify the user after an action". Routes to FuroToast, FuroToaster.

Firwat Hof Cp Toast op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hof Cp Toast besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hof Cp Toast an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toast an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hof Cp Toast benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hof Cp Toast benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hof Cp Toast domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hof Cp Toast gratis?

Jo. openreachtech huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇