Logotipo de Hof Cp Dropdown Menu

Hof Cp Dropdown Menu

Organización
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.

Descripción general

Editoropenreachtech
Repositoriohora-skills-ort-furo
Nombre de la habilidadhof-cp-dropdown-menu
Estrellas
32
Forks
0
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por openreachtech en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Hof Cp Dropdown Menu en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dropdown-menu
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Hof Cp Dropdown Menu en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Hof Cp Dropdown Menu automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Hof Cp Dropdown Menu no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Hof Cp Dropdown Menu en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Hof Cp Dropdown Menu está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Hof Cp Dropdown Menu en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-dropdown-menu. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Hof Cp Dropdown Menu?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Hof Cp Dropdown Menu?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Hof Cp Dropdown Menu con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Hof Cp Dropdown Menu?

Sí. openreachtech la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇