Logo vun Hof Cp Dropdown Menu

Hof Cp Dropdown Menu

Organisatioun
openreachtech
hof-cp-dropdown-menu

Use when building a menu of actions triggered from a button or icon in a repo that consumes @openreachtech/furo-vue — "actions menu", "kebab menu", "context menu", "dropdown menu", "three-dot menu". Routes to FuroDropdownMenu.

Iwwersiicht

Editeuropenreachtech
Repositoryhora-skills-ort-furo
Skill-Nummhof-cp-dropdown-menu
Stären
32
Forks
0
Matgeliwwert Fichieren
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

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

Installatioun

Installéiert de KI-Skill Hof Cp Dropdown Menu an TypingMind, fir e mat all LLM ze benotzen, oder füügt 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 „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dropdown-menu
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu 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 de 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-dropdown-menu .claude/skills/hof-cp-dropdown-menu
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hof Cp Dropdown Menu 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 Dropdown Menu 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 Dropdown Menu 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-Keys.

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

FuroDropdownMenu

Molecule-layer trigger-plus-floating-menu component. It renders a native trigger button (styled like FuroButton, overridable via the #trigger slot) that opens a floating menu built declaratively from a parcel.options array. Rows can be plain actions, checkbox rows, submenus, or separators — row kind is resolved automatically by priority (separator, then submenu, then checkbox, then default action). It does not use v-model: the menu only emits selection/toggle events, and the parent owns any persistent checked state for checkbox rows.

  • Layer: molecule
  • Import: import { FuroDropdownMenu } from '@openreachtech/furo-vue'
  • Manifest entry: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroDropdownMenu'

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

When NOT to use

  • A single one-shot action with no menu of choices → use hof-cp-button directly instead.
  • A floating panel that shows arbitrary content or a tooltip rather than a list of discrete actions → use hof-cp-popover.
  • A modal/drawer that takes over the flow (confirmation, form) → use hof-cp-dialog.
  • Picking one/many values from a list as part of a form field (not an actions menu) → use hof-cp-select.
  • Persistent boolean options rendered inline rather than behind a trigger → use hof-cp-checkbox-toggle or hof-cp-toggle-group.

Props

PropTypeDefaultNotes
parcelFuroDropdownMenuParcel | nullnullMenu behavior and declarative rows.
triggerParcelobject | nullnullDefault trigger appearance tokens (variant, size) aligned with FuroButton.

parcel fields

FieldTypeDefaultNotes
openbooleanuncontrolledControlled open state; omit for internal state.
disabledbooleanfalseDisables trigger and menu.
side'top' | 'right' | 'bottom' | 'left''bottom'Which edge of the trigger the menu opens against.
align'start' | 'center' | 'end''start'How the menu aligns along that edge.
sideOffsetnumber4Gap between trigger and menu, in rem-equivalent pixels.
optionsArray<FuroDropdownMenuOption>[]Declarative menu rows.

Events

EventPayloadFires when
open:change{ open: boolean }Menu open state changes.
option:selectDropdownMenuOptionSelectEmitPayloadUser selects an enabled action row.
option:checked-change{ option: FuroDropdownMenuOption, checked: boolean }User toggles a checkbox row.

There is no update:value event in the manifest — this component does not follow the v-model form-control contract; own the checked state of any checkbox rows yourself and pass it back in via parcel.options.

Slots

SlotDescription
triggerNative button labeled "Menu" (FuroButton-compatible styling). Override with label content.
option-labelOverride row label rendering. Scoped props: { option, index }. Defaults to option.label text.
defaultAppend custom menu content (advanced).

Row height

Before 1.5.0From 1.5.0
Minimum height of a menu rowFixed at calc(var(--size-input-height) - 0.5rem) in the component's CSSReads --size-option-height, which defaults to the same value, 24px
Override from the appDeclaring the token changes nothing, because the component never reads itRedefine the token, and every row follows

From 1.5.0, an app raises the rows to a larger touch target by overriding the token as /hof-lib-tokens describes, never the menu's CSS. The token holds one value in both themes, so put it on :root, either unlayered or in @layer app:

css
:root {
  --size-option-height: 2.5rem;
}

FuroSelect option rows read the same token, so the override raises them too.

Fallthrough attributes

class and style compose onto the root. Every other attribute you write on the component (id, aria-*, data-*) is dropped and reaches no element.

Usage

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

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

<template>
  <FuroDropdownMenu
    :parcel="{ options: context.rowActionOptions, align: 'end' }"
    @option:select="context.onSelectRowAction({ payload: $event })"
  >
    <template #trigger>
      Actions
    </template>
  </FuroDropdownMenu>
</template>

With a checkbox row whose checked state is owned by the Context:

vue
<template>
  <FuroDropdownMenu
    :parcel="{ options: context.columnVisibilityOptions }"
    @option:checked-change="context.onToggleColumnVisibility({ payload: $event })"
  />
</template>

Rules (per project conventions)

  • This component does not follow the v-model:value form-control contract — there is no update:value event. Its emit contract is option:select for one-shot actions, option:checked-change for checkbox rows (the parent must feed the updated checked state back into parcel.options), and open:change if you choose to control open yourself instead of letting the menu manage it internally.
  • Never import the underlying headless primitive — only the public FuroDropdownMenu export.
  • Build the options array and every on... handler (onSelectRowAction, onToggleColumnVisibility, etc.) in the page/component Context, not inline in the template.
  • 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 Dropdown Menu?

Use when building a menu of actions triggered from a button or icon in a repo that consumes @openreachtech/furo-vue — "actions menu", "kebab menu", "context menu", "dropdown menu", "three-dot menu". Routes to FuroDropdownMenu.

Firwat Hof Cp Dropdown Menu op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hof Cp Dropdown Menu 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 vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hof Cp Dropdown Menu 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-dropdown-menu 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 Dropdown Menu 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 Dropdown Menu benotzen?

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

Ass de KI-Skill Hof Cp Dropdown Menu gratis?

Jo. De Skill gëtt vum openreachtech ë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 weiderverwendbaart Pak vun Instruktiounen, dat 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 en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

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