BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/sv11-twango/voice-nav-01
This component no longer exists. It was in sv11-twango’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Voice Nav 01

sv11-twango/voice-nav-01
RemovedBlock

A voice-driven site navigation block: speak a destination and an embedded frame navigates to it. Provider-agnostic intent resolver (keyword matching by default; swap in an LLM), with a Web Speech API demo.

Install it

npx shadcn@latest add http://sv11.ui.twango.dev/r/voice-nav-01.json

Source

registry itemsv11.ui.twango.dev/r/voice-nav-01.json
1<script lang="ts" module>
2 import type { VoiceNavDestination } from "./destinations.js";
3
4 export type VoiceNavResolver = (
5 transcript: string,
6 destinations: VoiceNavDestination[]
7 ) => Promise<string | null> | string | null;
8
9 export type VoiceNav01Props = {
10 /** Pages the user can navigate to by voice. */
11 destinations?: VoiceNavDestination[];
12 /**
13 * Maps a spoken transcript to a destination URL (or `null`). Defaults to
14 * keyword matching; pass an LLM-backed resolver for fuzzy intent.
15 */
16 resolve?: VoiceNavResolver;
17 /** Initial URL shown in the frame. */
18 initialUrl?: string;
19 class?: string;
20 };
21</script>
22
23<script lang="ts">
24 import { onDestroy, onMount } from "svelte";
25 import { cn } from "$UTILS$.js";
26 import {
27 Card,
28 CardContent,
29 CardDescription,
30 CardHeader,
31 CardTitle,
32 } from "$UI$/card/index.js";
33 import { VoiceButton, type VoiceButtonState } from "$UI$/voice-button/index.js";
34 import { DEFAULT_DESTINATIONS, matchDestination } from "./destinations.js";
35 import { OneShotRecognizer, isSpeechRecognitionSupported } from "./speech.js";
36
37 let {
38 destinations = DEFAULT_DESTINATIONS,
39 resolve = matchDestination,
40 initialUrl = "/docs/components",
41 class: className,
42 }: VoiceNav01Props = $props();
43
44 let voiceState = $state<VoiceButtonState>("idle");
45 let url = $state(initialUrl);
46 let frameKey = $state(0);
47 let error = $state("");
48 let lastHeard = $state("");
49
50 // Optimistic until mounted so prerendered HTML doesn't flash the "unsupported"
51 // note before the client can feature-detect.
52 let mounted = $state(false);
53 onMount(() => (mounted = true));
54 const supported = $derived(!mounted || isSpeechRecognitionSupported());
55 const recognizer = new OneShotRecognizer();
56 let revertTimer: ReturnType<typeof setTimeout> | null = null;
57
58 // A custom resolve() is untrusted input. Only load http(s) URLs or same-origin
59 // paths into the preview frame — never javascript:/data:/blob: schemes.
60 function isSafeUrl(value: string): boolean {
61 try {
62 const { protocol } = new URL(value, window.location.origin);
63 return protocol === "http:" || protocol === "https:";
64 } catch {
65 return false;
66 }
67 }
68
69 function revertSoon() {
70 if (revertTimer) clearTimeout(revertTimer);
71 revertTimer = setTimeout(() => {
72 if (voiceState === "success" || voiceState === "error") voiceState = "idle";
73 }, 1800);
74 }
75
76 async function handlePress() {
77 if (!supported) return;
78 if (voiceState === "recording" || voiceState === "processing") {
79// … truncated

What it pulls in

npm packages

  • @lucide/svelte

Other registry items

  • card
  • https://sv11.ui.twango.dev/r/voice-button.json

Facts

Registry
sv11-twango
Type
registry:block
Access
Free
Files written
0
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
10 days ago

Go to the source

sv11.ui.twango.dev twangodev/sv11-ui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex