Hof Cp Toggle Group logo

Hof Cp Toggle Group

Organization
openreachtech
hof-cp-toggle-group

Use when building a segmented toggle control or a keyboard-navigable container that groups buttons/toggles/separators, in a repo that consumes @openreachtech/furo-vue — "toggle group", "segmented control", "formatting toolbar", "group of buttons". Routes to FuroToggleGroup, FuroToolBar.

Overview

Publisheropenreachtech
Repositoryhora-skills-ort-furo
Skill namehof-cp-toggle-group
Stars
32
Forks
0
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openreachtech on GitHub. Read the source before you install it.

Installation

Install the Hof Cp Toggle Group AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toggle-group
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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-toggle-group .claude/skills/hof-cp-toggle-group
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hof Cp Toggle Group in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hof Cp Toggle Group on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hof Cp Toggle Group is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

FuroToggleGroup / FuroToolBar

FuroToggleGroup is a molecule that turns a set of toggle atoms into one single- or multiple-selection control (e.g. a text-alignment segmented control) — it owns a value and emits when the selection changes. FuroToolBar is a molecule that groups arbitrary interactive controls (buttons, toggles, toggle groups, separators) into one keyboard-navigable region with roving focus — it owns no value and emits nothing; it is purely a layout/focus container. FuroToggleGroup instances are commonly placed inside a FuroToolBar's default slot alongside buttons and separators.

  • Layer: molecule (both)
  • Import: import { FuroToggleGroup, FuroToolBar } from '@openreachtech/furo-vue'
  • Manifest entries: node_modules/@openreachtech/furo-vue/public/furo-vue/components.json → components[].name === 'FuroToggleGroup' and === 'FuroToolBar'

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 single boolean on/off control, not a group of options → use hof-cp-checkbox-toggle instead.
  • Picking one/many values from a long or searchable list → use hof-cp-select instead.
  • A standalone action button that isn't part of a selection set → use hof-cp-button; place it inside FuroToolBar's default slot if it needs to sit next to other controls.
  • A visual divider between toolbar sections or panes → FuroSeparator (and resizable panes / scroll containers) live in hof-cp-splitter.
  • Tabbed content regions where each option swaps the visible content below → use hof-cp-tabs instead; FuroToggleGroup only tracks a selection value, it does not render panels.

FuroToggleGroup

Props

PropTypeDefaultNotes
parcelFuroToggleGroupParcel | nullnullReactive data object holding the selection, options, selection mode, variant, size, orientation, and disabled flag.

parcel fields

FieldTypeDefaultNotes
valuestring | string[]noneControlled selection. A parcel that has the key is controlled, even when it holds null; one without it is uncontrolled. A single value in single mode, an array in multiple mode. See Controlled value.
selectionMode'single' | 'multiple''single'Whether one or many options may be pressed at once.
optionsArray<{ value, label?, disabled? }>[]The toggle items. label falls back to value when omitted.
variant'default' | 'outline''default'Item styling — outline adds a border.
size'default' | 'sm' | 'lg''default'Item height and padding.
orientation'horizontal' | 'vertical''horizontal'Layout direction.
disabledbooleanfalseDisables the whole group; a per-option disabled flag disables a single item.

Events

EventPayloadFires when
change-valueToggleGroupEmitPayloadOn every selection change. Wraps a CustomEvent exposing value and the control element; isSelected({ value }) reports per-option state.
update:valuestring | string[]v-model sync of the selection.

Slots

SlotScoped propsDescription
option{ option, pressed }Custom item content (e.g. icons). Defaults to the option's label. pressed reflects whether the option is selected.

Controlled value

A click always emits change-value and update:value with the new selection. What the group shows afterwards depends on the version:

Controlled group (parcel has value)Before 1.5.0From 1.5.0
After a clickShows the clicked selection at once, whether or not the parent accepts itKeeps showing parcel.value until the parent writes the new value back
Parent ignores or rejects the emitted valueThe group drifts from parcel.value, and returns to it only when parcel.value next changesThe group stays on parcel.value
Click on the pressed item in single modeClears the display while the parent still holds the valueEmits null; the display clears only when the parent writes null back

An uncontrolled group, whose parcel has no value key, manages its own selection in both versions.

From 1.5.0, a controlled group needs its parent to write the emitted value back, or it never moves:

vue
<FuroToggleGroup
  :parcel="{
    value: form.textAlign,
    options: context.textAlignOptions,
  }"
  @update:value="context.onUpdateTextAlign({ value: $event })"
/>

To refuse a change, such as keeping one option always pressed, skip the write in the handler. From 1.5.0 the group then stays put; on 1.4.0 it shows the refused selection anyway.

FuroToolBar

Props

PropTypeDefaultNotes
parcelToolBarParcel | nullnullReactive data object holding orientation, text direction, and focus-wrap behavior.

parcel fields

FieldTypeDefaultNotes
orientation'horizontal' | 'vertical''horizontal'Layout axis. Also sets which Arrow keys move focus and the aria-orientation.
textDirection'toRight' | 'toLeft''toRight'Reading direction for the contents (toRight → left-to-right, toLeft → right-to-left).
loopFocusbooleanfalseWhen true, roving focus wraps from the last control back to the first (and vice versa).

Events

FuroToolBar has no documented events in the manifest — it carries no value and emits nothing.

Slots

SlotScoped propsDescription
default—The controls to group — buttons, toggles, toggle groups, separators.

Appearance

The FuroToggleGroup outline items and the FuroToolBar border read --color-border, the container tier of the library's two border tiers. To change that edge, override --color-border from the app side, as the library token skill (hof-lib-tokens) describes.

Usage

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

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

<template>
  <FuroToggleGroup
    v-model:value="form.textAlign"
    :parcel="{
      selectionMode: 'single',
      options: [
        { value: 'left', label: 'Left' },
        { value: 'center', label: 'Center' },
        { value: 'right', label: 'Right' },
      ],
    }"
    @change-value="context.onChangeTextAlign({ payload: $event })"
  />
</template>

Grouping buttons, a toggle group, and a separator inside a toolbar:

vue
<script>
import {
  FuroToolBar,
  FuroToggleGroup,
  FuroSeparator,
  FuroButton,
} from '@openreachtech/furo-vue'

export default {
  components: {
    FuroToolBar,
    FuroToggleGroup,
    FuroSeparator,
    FuroButton,
  },
}
</script>

<template>
  <FuroToolBar :parcel="{ orientation: 'horizontal', loopFocus: true }">
    <FuroButton @click="context.onClickUndo()">
      Undo
    </FuroButton>

    <FuroSeparator :parcel="{ orientation: 'vertical', decorative: true }" />

    <FuroToggleGroup
      v-model:value="form.textAlign"
      :parcel="{
        selectionMode: 'single',
        options: context.textAlignOptions,
      }"
    />
  </FuroToolBar>
</template>

Rules (per project conventions)

  • FuroToggleGroup follows the form-control contract: pass parcel and use v-model:value — this is the one documented exception to the project's general no-v-model rule, which applies only to custom in-project components, not to furo-vue library components.
  • FuroToolBar is not a form control: it carries no value, exposes no v-model, and emits no events. Configure it only through parcel (orientation, textDirection, loopFocus) and place child controls in its default slot.
  • Never import the underlying headless toggle-group or toolbar primitive — only the public FuroToggleGroup / FuroToolBar exports.
  • Put selection-change handling and business logic in the page/component Context (on{Field}Change style method), 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.

Frequently asked questions

What does the Hof Cp Toggle Group AI skill do?

Use when building a segmented toggle control or a keyboard-navigable container that groups buttons/toggles/separators, in a repo that consumes @openreachtech/furo-vue — "toggle group", "segmented control", "formatting toolbar", "group of buttons". Routes to FuroToggleGroup, FuroToolBar.

Why use Hof Cp Toggle Group on TypingMind?

Because you install it once and use it with any model. Hof Cp Toggle Group is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hof Cp Toggle Group in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openreachtech/hora-skills-ort-furo/tree/main/kit/skills/hof-cp-toggle-group. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hof Cp Toggle Group?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hof Cp Toggle Group?

As many as you like. As long as a model supports skills, you can use Hof Cp Toggle Group with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hof Cp Toggle Group AI skill free?

Yes. It is published on GitHub by openreachtech under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇