Code›Sandbox

core

Sandbox

Isolated HTML/CSS/JS rendering in an iframe with optional framework loading

Source

import Markdoc from '@markdoc/markdoc';
import type { Node } from '@markdoc/markdoc';
const { Tag } = Markdoc;
import type { ProjectFiles, ResolvedSecurityPolicy } from '@refrakt-md/types';
import {
	createComponentRenderable,
	createContentModelSchema,
	sanitizeSandboxContent,
} from '../lib/index.js';
import { assembleFromDirectory, mergeContent } from '../sandbox-sources.js';

function dedent(text: string): string {
	const lines = text.split('\n');
	const indents = lines
		.filter((l) => l.trim().length > 0)
		.map((l) => l.match(/^(\s*)/)?.[0].length ?? 0);
	const min = indents.length > 0 ? Math.min(...indents) : 0;
	return min > 0 ? lines.map((l) => l.slice(min)).join('\n') : text;
}

interface SourcePanel {
	label: string;
	language: string;
	content: string;
	origin?: string;
}

function extractDataSourcePanels(html: string): SourcePanel[] {
	const panels: SourcePanel[] = [];
	const regex = /<(\w+)\b([^>]*?)\bdata-source(?:="([^"]*)")?([^>]*)>([\s\S]*?)<\/\1>/g;
	let match;
	while ((match = regex.exec(html)) !== null) {
		const [, tagName, before, labelAttr, after, inner] = match;
		const language = tagName === 'style' ? 'css' : tagName === 'script' ? 'javascript' : 'html';
		const defaultLabel = language.charAt(0).toUpperCase() + language.slice(1);
		let content: string;
		if (tagName === 'style' || tagName === 'script') {
			content = dedent(inner.trim());
		} else {
			const attrs = (before + after).replace(/\s{2,}/g, ' ').trim();
			const attrStr = attrs ? ` ${attrs}` : '';
			const reindented = dedent(inner)
				.split('\n')
				.map((l) => (l.trim().length > 0 ? '  ' + l : l))
				.join('\n');
			content = `<${tagName}${attrStr}>${reindented}</${tagName}>`.trim();
		}
		panels.push({ label: labelAttr || defaultLabel, language, content });
	}
	return panels;
}

function extractInlineContent(node: Node, config: Markdoc.Config): string {
	const raw = config.variables?.__source;
	if (typeof raw === 'string' && node.lines?.length >= 2) {
		const allLines = raw.split('\n');
		const start = node.lines[0] + 1;
		const end = node.lines[node.lines.length - 1] - 1;
		return allLines.slice(start, end).join('\n').trim();
	}
	return '';
}

export const sandbox = createContentModelSchema({
	attributes: {
		src: {
			type: String,
			required: false,
			description: 'Directory containing external source files',
		},
		framework: {
			type: String,
			required: false,
			description: 'JavaScript framework for the sandbox',
		},
		dependencies: {
			type: String,
			required: false,
			description: 'Comma-separated npm packages to include',
		},
		label: { type: String, required: false, description: 'Label displayed above the sandbox' },
		height: {
			type: [Number, String],
			required: false,
			description: 'Height of the sandbox iframe: pixels, "fill" (host owns height), or auto',
		},
		context: {
			type: String,
			required: false,
			description: 'Shared context scope for multiple sandboxes',
		},
		activation: {
			type: String,
			required: false,
			matches: ['eager', 'visible', 'click'],
			description: 'When to mount the iframe: eager (default) | visible | click',
		},
		poster: {
			type: String,
			required: false,
			description: 'Poster image URL shown until a non-eager sandbox activates',
		},
		data: {
			type: String,
			required: false,
			description:
				'Registry query (`field:value` clauses, e.g. "type:page") bound into the iframe as window.RF_DATA',
		},
		'data-fields': {
			type: String,
			required: false,
			description: 'Comma-separated entity data fields to project into the payload',
		},
		'data-shape': {
			type: String,
			required: false,
			description:
				'Payload shape: flat (default) | tree (nest by parentUrl) | graph (nodes + relationship edges)',
		},
		'data-limit': {
			type: Number,
			required: false,
			description: 'Max records in the payload (default 500)',
		},
	},
	rawBody: true,
	contentModel: {
		type: 'sequence',
		fields: [],
	},
	transform(resolved, attrs, config, node) {
		const src = attrs.src ?? '';
		const framework = attrs.framework ?? '';
		const dependencies = attrs.dependencies ?? '';
		const label = attrs.label ?? '';
		const context = attrs.context ?? '';
		const height = attrs.height;
		const dataQuery = attrs.data ?? '';
		const dataFields = attrs['data-fields'] ?? '';
		const dataShape = attrs['data-shape'] ?? '';
		const dataLimit = attrs['data-limit'];
		const activation =
			attrs.activation === 'visible' || attrs.activation === 'click' ? attrs.activation : '';
		const poster = attrs.poster ?? '';

		let rawContent = '';
		let sourcePanels: SourcePanel[] = [];

		const projectFiles = config.variables?.__sandboxFiles as ProjectFiles | undefined;
		const examplesDir = config.variables?.__sandboxExamplesDir as string | undefined;

		if (src && projectFiles && examplesDir !== undefined) {
			const dirPath = examplesDir
				? examplesDir.endsWith('/')
					? examplesDir + src
					: examplesDir + '/' + src
				: src;
			const result = assembleFromDirectory(
				dirPath,
				src,
				(p) => projectFiles.read(p),
				(p) => projectFiles.list(p),
				(p) => projectFiles.exists(p),
			);

			if (result.errors.length > 0) {
				rawContent = `<div data-source="HTML"><pre style="color:red;padding:1rem">${result.errors.join('\n')}</pre></div>`;
				sourcePanels = [];
			} else {
				rawContent = result.content;

				sourcePanels = result.panels.map((p) => ({
					label: p.label,
					language: p.language,
					content: p.content,
					origin: p.origin,
				}));
			}

			const inlineContent = extractInlineContent(node, config);
			if (inlineContent) {
				rawContent = mergeContent(rawContent, inlineContent);
				sourcePanels = extractDataSourcePanels(rawContent);
			}
		} else {
			rawContent = extractInlineContent(node, config);
			sourcePanels = extractDataSourcePanels(rawContent);
		}

		const policy = (config.variables?.__securityPolicy as ResolvedSecurityPolicy | undefined) ?? {
			trust: 'trusted',
			allowJs: true,
			sandboxOrigin: undefined,
		};
		const sanitisedContent = sanitizeSandboxContent(rawContent, policy);

		const fallbackPre = sanitisedContent
			? new Tag('pre', { 'data-language': 'html' }, [
					new Tag('code', { 'data-language': 'html' }, [sanitisedContent]),
				])
			: undefined;

		const sourceOrigins = sourcePanels
			.filter((p) => p.origin)
			.map((p) => `${p.label}\t${p.origin}`);

		const children: InstanceType<typeof Tag>[] = [];
		if (fallbackPre) {
			children.push(new Tag('template', { 'data-content': 'fallback' }, [fallbackPre]));
		}
		children.push(new Tag('template', { 'data-content': 'source' }, [sanitisedContent]));

		const el = createComponentRenderable({
			rune: 'sandbox',
			tag: 'div',
			properties: context ? { context: new Tag('meta', { content: context }) } : undefined,
			children,
		});
		el.name = 'rf-sandbox';
		Object.assign(el.attributes, {
			'data-source-content': sanitisedContent,
			...(framework ? { 'data-framework': framework } : {}),
			...(dependencies ? { 'data-dependencies': dependencies } : {}),
			...(label ? { 'data-label': label } : {}),
			'data-height':
				typeof height === 'number'
					? String(height)
					: height === 'fill'
						? 'fill'
						: typeof height === 'string' && /^\d+$/.test(height)
							? height
							: 'auto',
			...(sourceOrigins.length > 0 ? { 'data-source-origins': sourceOrigins.join('\n') } : {}),
			'data-security-mode': policy.trust,
			'data-allow-js': policy.allowJs ? 'true' : 'false',
			...(policy.sandboxOrigin ? { 'data-sandbox-origin': policy.sandboxOrigin } : {}),
			...(activation
				? {
						'data-activation': activation,
						...(poster ? { 'data-poster': poster } : {}),
					}
				: {}),
			...(dataQuery
				? {
						'data-rf-query': dataQuery,
						...(dataFields ? { 'data-rf-fields': dataFields } : {}),
						...(dataShape ? { 'data-rf-shape': dataShape } : {}),
						...(dataLimit != null ? { 'data-rf-limit': String(dataLimit) } : {}),
					}
				: {}),
		});
		return el;
	},
});

View packages/runes/src/tags/sandbox.ts on GitHub

Render raw HTML, CSS, and JavaScript in an isolated iframe, with an optional CSS framework loaded for you. Use it for live examples, embedded widgets, and framework demos. Inside a {% preview %} it gets the preview's chrome and source panel; on its own it renders inline with no chrome, so you can drop a live widget into prose.

Basic usage

Write HTML directly inside the tag. Nothing in it can affect the rest of the page.

{% sandbox %}
<style>
  .badge {
    display: inline-block;
    padding: 4px 12px;
    background: #7C3AED;
    color: white;
    border-radius: 9999px;
    font-family: system-ui;
    font-size: 14px;
  }
</style>
<span class="badge">Live HTML</span>
{% /sandbox %}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;" data-height="auto" data-security-mode="trusted" data-allow-js="true">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;" data-height="auto" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;</code></pre>
  </template>
  <template data-content="source">&lt;style&gt;
	  .badge {
	    display: inline-block;
	    padding: 4px 12px;
	    background: #7C3AED;
	    color: white;
	    border-radius: 9999px;
	    font-family: system-ui;
	    font-size: 14px;
	  }
	&lt;/style&gt;
	&lt;span class=&quot;badge&quot;&gt;Live HTML&lt;/span&gt;</template>
</rf-sandbox>

Load code from files

Keep longer examples in their own files and point src at a directory of them:

{% sandbox src="login-form" /%}

Directory structure

src names a subdirectory of the examples directory, which is ../examples relative to your content root by default.

project/
├── content/
│   └── docs/
│       └── components.md
└── examples/
    └── login-form/
        ├── index.html
        ├── styles.css
        └── app.js

What each file becomes

ExtensionBecomes
.htmlThe body; index.html wins when there are several
.cssStyles, concatenated alphabetically
.jsScripts, concatenated alphabetically
.svgInlined into the body
.glsl-vert / .glsl-fragA VERTEX_SHADER / FRAGMENT_SHADER JavaScript constant

In a preview's source panel, the HTML, CSS and JavaScript each get a tab. src combines with every other attribute, and anything you write between the tags is added to the files' content:

{% sandbox src="login-form" %}
<style data-source="Overrides">
  .form { border: 2px solid red; }
</style>
{% /sandbox %}

If the directory does not exist, the sandbox shows an error in place of the preview.

Load a CSS framework

framework loads one from a CDN: tailwind (the Tailwind Play CDN), bootstrap (Bootstrap 5), bulma, or pico.

{% sandbox src="profile-card" framework="tailwind" /%}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;" data-framework="tailwind" data-height="auto" data-source-origins="HTML	profile-card/index.html" data-security-mode="trusted" data-allow-js="true">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;" data-framework="tailwind" data-height="auto" data-source-origins="HTML	profile-card/index.html" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;</code></pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;min-h-screen bg-[#f5f4f1] dark:bg-[#1a1a17] flex items-center justify-center p-6&quot;&gt;
  &lt;div class=&quot;bg-[#fbfaf7] dark:bg-[#211f1c] rounded-2xl shadow-xl max-w-sm w-full overflow-hidden transition-colors&quot;&gt;
    &lt;!-- Cover Image --&gt;
    &lt;div class=&quot;h-32 bg-gradient-to-r from-[#e15f80] to-[#c4501c] dark:from-[#e8788f] dark:to-[#e87a3a]&quot;&gt;&lt;/div&gt;

    &lt;!-- Profile Content --&gt;
    &lt;div class=&quot;relative px-6 pb-6&quot;&gt;
      &lt;!-- Avatar --&gt;
      &lt;div class=&quot;flex justify-center -mt-16 mb-4&quot;&gt;
        &lt;img
          src=&quot;https://i.pravatar.cc/120?img=32&quot;
          alt=&quot;Profile&quot;
          class=&quot;w-32 h-32 rounded-full border-4 border-[#fbfaf7] dark:border-[#211f1c] shadow-lg&quot;
        /&gt;
      &lt;/div&gt;

      &lt;!-- User Info --&gt;
      &lt;div class=&quot;text-center mb-6&quot;&gt;
        &lt;h2 class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef] mb-1&quot;&gt;Sarah Johnson&lt;/h2&gt;
        &lt;p class=&quot;text-[#6b6661] dark:text-[#94908a] text-sm mb-3&quot;&gt;@sarahjohnson&lt;/p&gt;
        &lt;p class=&quot;text-[#1c1a17]/80 dark:text-[#f6f4ef]/80 leading-relaxed&quot;&gt;
          Product designer passionate about crafting delightful user experiences.
          Coffee enthusiast ☕️
        &lt;/p&gt;
      &lt;/div&gt;

      &lt;!-- Stats --&gt;
      &lt;div class=&quot;flex justify-around py-4 border-y border-[#e2e0dd] dark:border-[#2a2825] mb-6&quot;&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;1.2k&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Followers&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;842&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Following&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;text-center&quot;&gt;
          &lt;div class=&quot;text-2xl font-bold text-[#1c1a17] dark:text-[#f6f4ef]&quot;&gt;94&lt;/div&gt;
          &lt;div class=&quot;text-xs text-[#6b6661] dark:text-[#94908a] uppercase tracking-wide&quot;&gt;Posts&lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;!-- Action Buttons --&gt;
      &lt;div class=&quot;flex gap-3&quot;&gt;
        &lt;button class=&quot;flex-1 bg-gradient-to-r from-[#e15f80] to-[#c84a6c] dark:from-[#e8788f] dark:to-[#ef91a3] text-white font-semibold py-3 rounded-xl hover:from-[#c84a6c] hover:to-[#b35070] dark:hover:from-[#ef91a3] dark:hover:to-[#e89db0] transition-all shadow-lg shadow-[#e15f80]/30 dark:shadow-[#e8788f]/20&quot;&gt;
          Follow
        &lt;/button&gt;
        &lt;button class=&quot;flex-1 border-2 border-[#e2e0dd] dark:border-[#2a2825] text-[#1c1a17] dark:text-[#f6f4ef] font-semibold py-3 rounded-xl hover:bg-[#ecebe8] dark:hover:bg-[#2a2825] transition-all&quot;&gt;
          Message
        &lt;/button&gt;
      &lt;/div&gt;

      &lt;!-- Social Links --&gt;
      &lt;div class=&quot;flex justify-center gap-4 mt-6&quot;&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
        &lt;a href=&quot;#&quot; class=&quot;w-10 h-10 flex items-center justify-center rounded-full bg-[#ecebe8] dark:bg-[#2a2825] text-[#6b6661] dark:text-[#94908a] hover:bg-[#e15f80]/20 dark:hover:bg-[#e8788f]/20 hover:text-[#e15f80] dark:hover:text-[#e8788f] transition-all&quot;&gt;
          &lt;svg class=&quot;w-5 h-5&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z&quot;/&gt;&lt;/svg&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;</template>
</rf-sandbox>

Load any script or stylesheet

dependencies takes URLs, comma-separated, and loads each as a script or stylesheet.

{% sandbox dependencies="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" %}
<main class="container">
  <article>
    <h2>Join the beta</h2>
    <p>Early access to offline sync, shipping to testers this spring.</p>
    <button>Request an invite</button>
  </article>
</main>
{% /sandbox %}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;" data-dependencies="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" data-height="auto" data-security-mode="trusted" data-allow-js="true">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;" data-dependencies="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css" data-height="auto" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;</code></pre>
  </template>
  <template data-content="source">&lt;main class=&quot;container&quot;&gt;
	  &lt;article&gt;
	    &lt;h2&gt;Join the beta&lt;/h2&gt;
	    &lt;p&gt;Early access to offline sync, shipping to testers this spring.&lt;/p&gt;
	    &lt;button&gt;Request an invite&lt;/button&gt;
	  &lt;/article&gt;
	&lt;/main&gt;</template>
</rf-sandbox>

Run JavaScript

Scripts run inside the iframe. A <script type="module"> can import straight from a CDN, with no bundler; here a version-pinned three.js draws a spinning cube:

{% sandbox src="threejs-cube" height=300 /%}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;" data-height="300" data-source-origins="HTML	threejs-cube/index.html" data-security-mode="trusted" data-allow-js="true">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;" data-height="300" data-source-origins="HTML	threejs-cube/index.html" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;</code></pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;html,body{height:100%;margin:0}canvas{display:block;width:100%;height:100vh}&lt;/style&gt;
&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;script type=&quot;module&quot;&gt;
  import * as THREE from 'https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js';
  const canvas = document.getElementById('c');
  const renderer = new THREE.WebGLRenderer({ canvas, antialias: true, alpha: true });
  const scene = new THREE.Scene();
  const camera = new THREE.PerspectiveCamera(50, 1, 0.1, 100);
  camera.position.z = 3;
  const cube = new THREE.Mesh(
    new THREE.BoxGeometry(1.4, 1.4, 1.4),
    new THREE.MeshStandardMaterial({ color: 0xe15f80, flatShading: true }),
  );
  scene.add(cube);
  const light = new THREE.DirectionalLight(0xffffff, 3);
  light.position.set(2, 3, 4);
  scene.add(light, new THREE.AmbientLight(0xffffff, 0.6));
  function resize() {
    const w = canvas.clientWidth, h = canvas.clientHeight;
    renderer.setSize(w, h, false);
    camera.aspect = w / h;
    camera.updateProjectionMatrix();
  }
  resize();
  (function loop() {
    cube.rotation.x += 0.01;
    cube.rotation.y += 0.013;
    renderer.render(scene, camera);
    requestAnimationFrame(loop);
  })();
&lt;/script&gt;

&lt;/div&gt;</template>
</rf-sandbox>

Pin the version, honor prefers-reduced-motion, and give a fallback, as the three.js scene in Media guests does.

Delay heavy sandboxes until they are needed

A sandbox loads with the page by default. For a heavy scene, set activation so nothing downloads until it is needed; a poster image and a Run control stand in until then.

  • visible loads it when it scrolls into view. Use it for scenes below the fold.
  • click loads it only when the reader presses Run.
{% sandbox src="particle-field" activation="visible" poster="/img/scene-poster.png" height=400 /%}

A reader who prefers reduced motion always gets the poster and the Run control, even with visible.

Feed a sandbox your content

Set data to a query, in the same field:value form collection uses, and the build hands the matching entities to your script as window.RF_DATA. data-shape picks the form:

  • flat (the default): a list of records.
  • tree: records nested by URL.
  • graph: { nodes, edges }, where each edge is { from, to, kind } from the entities' relationships. Only edges between selected entities are kept.

data-fields keeps only the fields you name, and data-limit caps the records (500 by default; the build warns when it cuts). Here the pages under /runes/ become a 3D star map: drag to rotate, click a node to open it.

{% sandbox src="sitemap-3d" data="type:page url:/runes/*" data-shape="tree" activation="visible" height=440 /%}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;" data-height="440" data-source-origins="HTML	sitemap-3d/index.html" data-security-mode="trusted" data-allow-js="true" data-activation="visible" data-rf-query="type:page url:/runes/*" data-rf-shape="tree">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;" data-height="440" data-source-origins="HTML	sitemap-3d/index.html" data-security-mode="trusted" data-allow-js="true" data-activation="visible" data-rf-query="type:page url:/runes/*" data-rf-shape="tree" data-rf-records="{&quot;shape&quot;:&quot;tree&quot;,&quot;tree&quot;:[{&quot;id&quot;:&quot;/runes/accordion&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/accordion&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Accordion&quot;,&quot;description&quot;:&quot;Collapsible accordion sections for FAQ-style content&quot;,&quot;category&quot;:&quot;Disclosure&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/accordion&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/actions&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/actions&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Actions&quot;,&quot;description&quot;:&quot;A row of actions — each link of a list becomes a button, ranked primary and secondary, and a fence becomes a copyable command line&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/actions&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/aggregate&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/aggregate&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Aggregate&quot;,&quot;description&quot;:&quot;Project numbers from the registry — counts and per-group breakdowns — the number-projecting counterpart to collection and relationships, with field-match queries and a sub-filter that drives progress-bar ratios&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/aggregate&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/annotate&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/annotate&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Annotate&quot;,&quot;description&quot;:&quot;Content with margin annotations and notes&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/annotate&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/badge&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/badge&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Badge&quot;,&quot;description&quot;:&quot;Inline pill that flags a piece of content — status, category, recency, tag&quot;,&quot;category&quot;:&quot;Values&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/badge&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/bar&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/bar&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Bar&quot;,&quot;description&quot;:&quot;Block-level wrapper that renders a horizontal row of content — the bar layout primitive, composable in prose&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/bar&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/bg&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/bg&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Background&quot;,&quot;description&quot;:&quot;Add background images, video, and overlays to any section rune&quot;,&quot;category&quot;:&quot;Backgrounds &amp; color&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/bg&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/blog&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/blog&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Blog&quot;,&quot;description&quot;:&quot;Display a list of blog posts from a content folder with sorting, filtering, and layout options&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/blog&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/breadcrumb&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/breadcrumb&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Breadcrumb&quot;,&quot;description&quot;:&quot;Navigation breadcrumbs showing page hierarchy&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/breadcrumb&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/budget&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/budget&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Budget&quot;,&quot;description&quot;:&quot;Structured budgets with categories, line items, and totals&quot;,&quot;category&quot;:&quot;Data&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/budget&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/card&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/card&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Card&quot;,&quot;description&quot;:&quot;A generic, self-contained content card — optional media, body, and footer zones, with an optional whole-card link&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/card&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/chart&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/chart&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Chart&quot;,&quot;description&quot;:&quot;Chart visualization from a Markdown table&quot;,&quot;category&quot;:&quot;Data&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/chart&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/code&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/code&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Code&quot;,&quot;description&quot;:&quot;Inline code span for dynamic content, where backticks cannot reach&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/code&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/codegroup&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/codegroup&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Codegroup&quot;,&quot;description&quot;:&quot;Tabbed code blocks and styled code chrome&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/codegroup&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/collection&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/collection&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Collection&quot;,&quot;description&quot;:&quot;Render a list, grid, or table of registry entities — the plural counterpart to ref and expand, with filtering, sorting, grouping, and per-item templates&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/collection&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/compare&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/compare&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Compare&quot;,&quot;description&quot;:&quot;Side-by-side code comparison panels&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/compare&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/conversation&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/conversation&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Conversation&quot;,&quot;description&quot;:&quot;Chat and dialogue display with alternating speaker messages&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/conversation&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/data&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/data&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Data&quot;,&quot;description&quot;:&quot;Ingest an external tabular file (CSV, TSV, JSON, NDJSON) and render it as a table, chart, or datatable — shaped at build time&quot;,&quot;category&quot;:&quot;Data&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/data&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/datatable&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/datatable&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;DataTable&quot;,&quot;description&quot;:&quot;Interactive data table with sorting, filtering, and pagination&quot;,&quot;category&quot;:&quot;Data&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/datatable&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/deflist&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/deflist&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Deflist&quot;,&quot;description&quot;:&quot;Block-level definition list — stacked dt/dd pairs that flow into multiple columns on wider screens&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/deflist&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/details&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/details&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Details&quot;,&quot;description&quot;:&quot;Collapsible disclosure blocks for supplementary content&quot;,&quot;category&quot;:&quot;Disclosure&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/details&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/diagram&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/diagram&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Diagram&quot;,&quot;description&quot;:&quot;Mermaid diagram rendering from code blocks&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/diagram&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/diff&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/diff&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Diff&quot;,&quot;description&quot;:&quot;Side-by-side or unified diff view between two code blocks&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/diff&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/drawer&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/drawer&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Drawer&quot;,&quot;description&quot;:&quot;Addressable modal panel — declared once, opened from any xref on the page&quot;,&quot;category&quot;:&quot;Arrangement&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/drawer&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/embed&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/embed&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Embed&quot;,&quot;description&quot;:&quot;Embed external content like videos, tweets, and code demos&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/embed&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/expand&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/expand&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Expand&quot;,&quot;description&quot;:&quot;Substitute a registered entity's source content inline — symmetric with xref but inlines the content instead of linking to it&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/expand&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/figure&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/figure&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Figure&quot;,&quot;description&quot;:&quot;A captioned container for images, code, tables and diagrams, with sizing and alignment&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/figure&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/file-ref&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/file-ref&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;File-ref&quot;,&quot;description&quot;:&quot;Path-based inline references to project files — third member of the Registry family beside xref (one entity) and expand (one entity inlined), with optional drawer preview&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/file-ref&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/form&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/form&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Form&quot;,&quot;description&quot;:&quot;Accessible HTML forms from Markdown with smart field type inference&quot;,&quot;category&quot;:&quot;Data&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/form&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/gallery&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/gallery&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Gallery&quot;,&quot;description&quot;:&quot;Multi-image container with grid, carousel, or masonry layout&quot;,&quot;category&quot;:&quot;Arrangement&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/gallery&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/grid&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/grid&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Grid&quot;,&quot;description&quot;:&quot;Flexible grid layout with columns, auto-fill, masonry, and responsive collapse&quot;,&quot;category&quot;:&quot;Arrangement&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/grid&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/hint&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/hint&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Hint&quot;,&quot;description&quot;:&quot;Callouts and admonitions for supplementary information&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/hint&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/icon&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/icon&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Icon&quot;,&quot;description&quot;:&quot;Inline icons from the theme's icon registry&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/icon&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/image-schemes&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/image-schemes&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Moved&quot;,&quot;url&quot;:&quot;/runes/image-schemes&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/include&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/include&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Include&quot;,&quot;description&quot;:&quot;Paste a partial's content into the page during the preprocess phase, so data and snippet inside it resolve&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/include&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/juxtapose&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/juxtapose&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Juxtapose&quot;,&quot;description&quot;:&quot;Interactive side-by-side comparison with slider, toggle, fade, and auto modes&quot;,&quot;category&quot;:&quot;Arrangement&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/juxtapose&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/layout&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/layout&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Layout &amp; Region&quot;,&quot;description&quot;:&quot;Structural runes for defining page layouts and named content regions&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/layout&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/link&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/link&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Link&quot;,&quot;description&quot;:&quot;A link around any content — a word in a sentence, or a whole block made clickable without nesting links&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/link&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/media-guests&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/media-guests&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Moved&quot;,&quot;url&quot;:&quot;/runes/media-guests&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/mediatext&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/mediatext&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;MediaText&quot;,&quot;description&quot;:&quot;Side-by-side image and text layouts with configurable ratios&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/mediatext&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/motion&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/motion&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Moved&quot;,&quot;url&quot;:&quot;/runes/motion&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/nav&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/nav&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Nav&quot;,&quot;description&quot;:&quot;One navigation primitive for sidebars, header menubars, footer columns, and section landings&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/nav&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/pagination&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/pagination&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Pagination&quot;,&quot;description&quot;:&quot;Sequential prev/next links for ordered docs and tutorials&quot;,&quot;icon&quot;:&quot;arrow-right&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/pagination&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/progress&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/progress&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Progress&quot;,&quot;description&quot;:&quot;A generic completion bar — render a ratio from supplied numbers, with an optional label and sentiment variant&quot;,&quot;category&quot;:&quot;Values&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/progress&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/pullquote&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/pullquote&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;PullQuote&quot;,&quot;description&quot;:&quot;A featured quotation with its attribution, or a pull quote repeating words from the text&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/pullquote&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/relationships&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/relationships&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Relationships&quot;,&quot;description&quot;:&quot;Render an entity's relationship edges, grouped by kind — the plural-graph counterpart to ref and expand, generic over any domain's relationship vocabulary&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/relationships&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/reveal&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/reveal&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Reveal&quot;,&quot;description&quot;:&quot;Progressive disclosure where content appears step by step&quot;,&quot;category&quot;:&quot;Disclosure&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/reveal&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/rune-catalog&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/rune-catalog&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Rune Catalog&quot;,&quot;description&quot;:&quot;Browse all available runes — core built-ins and official packages&quot;,&quot;url&quot;:&quot;/runes/rune-catalog&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/sandbox&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/sandbox&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Sandbox&quot;,&quot;description&quot;:&quot;Isolated HTML/CSS/JS rendering in an iframe with optional framework loading&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/sandbox&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/section&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/section&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Section&quot;,&quot;description&quot;:&quot;A generic page section — an eyebrow, headline, and blurb above any content&quot;,&quot;category&quot;:&quot;Sections &amp; blocks&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/section&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/showcase&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/showcase&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Showcase&quot;,&quot;description&quot;:&quot;Present visual content with frame chrome — shadow, displacement (bleed), offset, and aspect ratio&quot;,&quot;category&quot;:&quot;Arrangement&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/showcase&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/sidenote&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/sidenote&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Sidenote&quot;,&quot;description&quot;:&quot;Margin notes and footnotes alongside main content&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/sidenote&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/snippet&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/snippet&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Snippet&quot;,&quot;description&quot;:&quot;Embed a project file as a syntax-highlighted code block — composes inside codegroup, diff, and any future fence-consuming container&quot;,&quot;category&quot;:&quot;Code&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/snippet&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/surfaces&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/surfaces&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Moved&quot;,&quot;url&quot;:&quot;/runes/surfaces&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/tabs&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/tabs&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Tabs&quot;,&quot;description&quot;:&quot;Tabbed content panels with heading-based tab labels&quot;,&quot;category&quot;:&quot;Disclosure&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/tabs&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/textblock&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/textblock&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;TextBlock&quot;,&quot;description&quot;:&quot;Styled text blocks with drop caps, columns, and lead paragraphs&quot;,&quot;category&quot;:&quot;Text &amp; inline&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/textblock&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/tint&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/tint&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Tint&quot;,&quot;description&quot;:&quot;Section-level color overrides via CSS custom properties&quot;,&quot;category&quot;:&quot;Backgrounds &amp; color&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/tint&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/toc&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/toc&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Table of Contents&quot;,&quot;description&quot;:&quot;Auto-generated table of contents from page headings&quot;,&quot;category&quot;:&quot;Site&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/toc&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/xref&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/xref&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Xref&quot;,&quot;description&quot;:&quot;Inline cross-references that resolve entities by ID or name from the entity registry&quot;,&quot;category&quot;:&quot;Reuse &amp; references&quot;,&quot;plugin&quot;:&quot;core&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/xref&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/business&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/business&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/business&quot;,&quot;description&quot;:&quot;Organizational runes for team directories, company profiles, and timelines&quot;,&quot;icon&quot;:&quot;briefcase&quot;,&quot;url&quot;:&quot;/runes/business&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/business/cast&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/business/cast&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Cast / Team&quot;,&quot;description&quot;:&quot;People directory for team pages and speaker lineups&quot;,&quot;category&quot;:&quot;Business&quot;,&quot;plugin&quot;:&quot;business&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/business/cast&quot;,&quot;parentUrl&quot;:&quot;/runes/business&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/business/organization&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/business/organization&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Organization&quot;,&quot;description&quot;:&quot;Structured business or organization information&quot;,&quot;category&quot;:&quot;Business&quot;,&quot;plugin&quot;:&quot;business&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/business/organization&quot;,&quot;parentUrl&quot;:&quot;/runes/business&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/business/timeline&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/business/timeline&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Timeline&quot;,&quot;description&quot;:&quot;Chronological events displayed as a timeline&quot;,&quot;category&quot;:&quot;Business&quot;,&quot;plugin&quot;:&quot;business&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/business/timeline&quot;,&quot;parentUrl&quot;:&quot;/runes/business&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/design&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/design&quot;,&quot;description&quot;:&quot;Design system runes for color palettes, typography specimens, and token visualization&quot;,&quot;icon&quot;:&quot;palette&quot;,&quot;url&quot;:&quot;/runes/design&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/design/design-context&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/design-context&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Design Context&quot;,&quot;description&quot;:&quot;Unified design token card composing palette, typography, and spacing runes with cross-page sandbox injection&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/design-context&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/mockup&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/mockup&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Mockup&quot;,&quot;description&quot;:&quot;Wrap content in realistic device frames for phones, tablets, browsers, and laptops&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/mockup&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/palette&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/palette&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Palette&quot;,&quot;description&quot;:&quot;Color swatch grid with optional WCAG contrast and accessibility info&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/palette&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/preview&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/preview&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Preview&quot;,&quot;description&quot;:&quot;Component showcase with theme toggle and responsive viewports&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/preview&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/spacing&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/spacing&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Spacing&quot;,&quot;description&quot;:&quot;Spacing scale, border radius, and shadow token display&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/spacing&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/swatch&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/swatch&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Swatch&quot;,&quot;description&quot;:&quot;Inline color chip for referencing colors in prose&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/swatch&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/design/typography&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/design/typography&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Typography&quot;,&quot;description&quot;:&quot;Font specimen display with live Google Fonts loading&quot;,&quot;category&quot;:&quot;Design&quot;,&quot;plugin&quot;:&quot;design&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/design/typography&quot;,&quot;parentUrl&quot;:&quot;/runes/design&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/docs&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/docs&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/docs&quot;,&quot;description&quot;:&quot;Technical documentation runes for API references, code symbols, and changelogs&quot;,&quot;icon&quot;:&quot;file-text&quot;,&quot;url&quot;:&quot;/runes/docs&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/docs/api&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/docs/api&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;API&quot;,&quot;description&quot;:&quot;API endpoint documentation with method, path, and parameters&quot;,&quot;category&quot;:&quot;Docs&quot;,&quot;plugin&quot;:&quot;docs&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/docs/api&quot;,&quot;parentUrl&quot;:&quot;/runes/docs&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/docs/changelog&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/docs/changelog&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Changelog&quot;,&quot;description&quot;:&quot;Version history with release notes&quot;,&quot;category&quot;:&quot;Docs&quot;,&quot;plugin&quot;:&quot;docs&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/docs/changelog&quot;,&quot;parentUrl&quot;:&quot;/runes/docs&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/docs/cli&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/docs/cli&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Docs CLI Commands&quot;,&quot;description&quot;:&quot;Command reference for refrakt docs extract — generate API reference docs from source code&quot;,&quot;url&quot;:&quot;/runes/docs/cli&quot;,&quot;parentUrl&quot;:&quot;/runes/docs&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/docs/symbol&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/docs/symbol&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Symbol&quot;,&quot;description&quot;:&quot;Code construct documentation for functions, classes, interfaces, enums, and type aliases&quot;,&quot;category&quot;:&quot;Docs&quot;,&quot;plugin&quot;:&quot;docs&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/docs/symbol&quot;,&quot;parentUrl&quot;:&quot;/runes/docs&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/learning&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/learning&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/learning&quot;,&quot;description&quot;:&quot;Educational runes for tutorials, recipes, and instructional content&quot;,&quot;icon&quot;:&quot;book-open&quot;,&quot;url&quot;:&quot;/runes/learning&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/learning/howto&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/learning/howto&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;HowTo&quot;,&quot;description&quot;:&quot;Step-by-step how-to guide with tools and instructions&quot;,&quot;category&quot;:&quot;Learning&quot;,&quot;plugin&quot;:&quot;learning&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/learning/howto&quot;,&quot;parentUrl&quot;:&quot;/runes/learning&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/learning/recipe&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/learning/recipe&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Recipe&quot;,&quot;description&quot;:&quot;Structured recipe with ingredients, steps, and chef tips&quot;,&quot;category&quot;:&quot;Learning&quot;,&quot;plugin&quot;:&quot;learning&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/learning/recipe&quot;,&quot;parentUrl&quot;:&quot;/runes/learning&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/marketing&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/marketing&quot;,&quot;description&quot;:&quot;Landing page and conversion runes for marketing sites and product pages&quot;,&quot;icon&quot;:&quot;rocket&quot;,&quot;url&quot;:&quot;/runes/marketing&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/marketing/bento&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/bento&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Bento&quot;,&quot;description&quot;:&quot;Magazine-style bento grid of cells — heading depth sizes each tile, or author cells explicitly for full control&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/bento&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/comparison&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/comparison&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Comparison&quot;,&quot;description&quot;:&quot;Product and feature comparison matrices from Markdown&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/comparison&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/cta&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/cta&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;CTA&quot;,&quot;description&quot;:&quot;Focused call-to-action blocks with headlines, descriptions, and action buttons&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/cta&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/feature&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/feature&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Feature&quot;,&quot;description&quot;:&quot;Feature showcases with name, description, and optional icons&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/feature&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/hero&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/hero&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Hero&quot;,&quot;description&quot;:&quot;Full-width intro sections for landing pages with background support and action buttons&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/hero&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/pricing&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/pricing&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Pricing&quot;,&quot;description&quot;:&quot;Pricing tables with tier comparison&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/pricing&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/steps&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/steps&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Steps&quot;,&quot;description&quot;:&quot;Step-by-step instructions with numbered indicators&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/steps&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/marketing/testimonial&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/marketing/testimonial&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Testimonial&quot;,&quot;description&quot;:&quot;Customer testimonials and reviews&quot;,&quot;category&quot;:&quot;Marketing&quot;,&quot;plugin&quot;:&quot;marketing&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/marketing/testimonial&quot;,&quot;parentUrl&quot;:&quot;/runes/marketing&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/media&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/media&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/media&quot;,&quot;description&quot;:&quot;Audio and music runes for playlists, tracks, and audio players&quot;,&quot;icon&quot;:&quot;video&quot;,&quot;url&quot;:&quot;/runes/media&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/media/audio&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/media/audio&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Audio&quot;,&quot;description&quot;:&quot;Audio player with optional waveform and chapter markers&quot;,&quot;category&quot;:&quot;Media&quot;,&quot;plugin&quot;:&quot;media&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/media/audio&quot;,&quot;parentUrl&quot;:&quot;/runes/media&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/media/playlist&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/media/playlist&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Playlist&quot;,&quot;description&quot;:&quot;Curated playlist with track listing for albums, podcasts, audiobooks, and mixes&quot;,&quot;category&quot;:&quot;Media&quot;,&quot;plugin&quot;:&quot;media&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/media/playlist&quot;,&quot;parentUrl&quot;:&quot;/runes/media&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/media/track&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/media/track&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Track&quot;,&quot;description&quot;:&quot;Standalone track or recording with metadata&quot;,&quot;category&quot;:&quot;Media&quot;,&quot;plugin&quot;:&quot;media&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/media/track&quot;,&quot;parentUrl&quot;:&quot;/runes/media&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/places&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/places&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/places&quot;,&quot;description&quot;:&quot;Event planning and location runes for travel guides and venue pages&quot;,&quot;icon&quot;:&quot;map-pin&quot;,&quot;url&quot;:&quot;/runes/places&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/places/event&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/places/event&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Event&quot;,&quot;description&quot;:&quot;Event information with date, location, and agenda&quot;,&quot;category&quot;:&quot;Places&quot;,&quot;plugin&quot;:&quot;places&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/places/event&quot;,&quot;parentUrl&quot;:&quot;/runes/places&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/places/itinerary&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/places/itinerary&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Itinerary&quot;,&quot;description&quot;:&quot;Day-by-day travel itineraries with timed stops and locations&quot;,&quot;category&quot;:&quot;Places&quot;,&quot;plugin&quot;:&quot;places&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/places/itinerary&quot;,&quot;parentUrl&quot;:&quot;/runes/places&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/places/map&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/places/map&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Map&quot;,&quot;description&quot;:&quot;Interactive map visualization from Markdown lists of locations&quot;,&quot;category&quot;:&quot;Places&quot;,&quot;plugin&quot;:&quot;places&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/places/map&quot;,&quot;parentUrl&quot;:&quot;/runes/places&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/plan&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/plan&quot;,&quot;description&quot;:&quot;Spec-driven project planning with AI-native workflows and CLI tooling&quot;,&quot;icon&quot;:&quot;clipboard-list&quot;,&quot;url&quot;:&quot;/runes/plan&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/plan/backlog&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/backlog&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Backlog&quot;,&quot;description&quot;:&quot;Aggregation view of plan entities with filtering, sorting, and grouping&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/backlog&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/bug&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/bug&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Bug&quot;,&quot;description&quot;:&quot;Bug report with structured reproduction steps and severity tracking&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/bug&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/cli&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/cli&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Moved&quot;,&quot;url&quot;:&quot;/runes/plan/cli&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/decision-log&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/decision-log&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Decision Log&quot;,&quot;description&quot;:&quot;Chronological view of architecture decision records&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/decision-log&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/decision&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/decision&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Decision&quot;,&quot;description&quot;:&quot;Architecture decision record capturing context, options, rationale, and consequences&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/decision&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/examples&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/examples&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Example Plan Data&quot;,&quot;description&quot;:&quot;Sample plan entities used to populate aggregation rune showcases&quot;,&quot;draft&quot;:true,&quot;url&quot;:&quot;/runes/plan/examples&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/milestone&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/milestone&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Milestone&quot;,&quot;description&quot;:&quot;Named release target with scope, goals, and status tracking&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/milestone&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/plan-activity&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/plan-activity&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Plan Activity&quot;,&quot;description&quot;:&quot;Recent activity feed sorted by file modification time&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/plan-activity&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/plan-history&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/plan-history&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Plan History&quot;,&quot;description&quot;:&quot;Git-native entity history timeline showing lifecycle events derived from commits&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/plan-history&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/plan-progress&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/plan-progress&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Plan Progress&quot;,&quot;description&quot;:&quot;Per-type completion bars and status breakdowns from the plan registry&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/plan-progress&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/spec&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/spec&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Spec&quot;,&quot;description&quot;:&quot;Specification document with status tracking, versioning, and cross-referencing&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/spec&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/work&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/work&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Work&quot;,&quot;description&quot;:&quot;Work item with acceptance criteria, references, and implementation tracking&quot;,&quot;category&quot;:&quot;Plan&quot;,&quot;plugin&quot;:&quot;plan&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/plan/work&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/plan/workflow&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/plan/workflow&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Plan Workflows&quot;,&quot;description&quot;:&quot;Using @refrakt-md/plan with AI assistants, CI pipelines, and team workflows&quot;,&quot;url&quot;:&quot;/runes/plan/workflow&quot;,&quot;parentUrl&quot;:&quot;/runes/plan&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]},{&quot;id&quot;:&quot;/runes/storytelling&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;@refrakt-md/storytelling&quot;,&quot;description&quot;:&quot;Worldbuilding and narrative runes for fiction, games, and creative writing&quot;,&quot;icon&quot;:&quot;sparkles&quot;,&quot;url&quot;:&quot;/runes/storytelling&quot;,&quot;parentUrl&quot;:&quot;/runes&quot;,&quot;draft&quot;:false},&quot;children&quot;:[{&quot;id&quot;:&quot;/runes/storytelling/bond&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/bond&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Bond&quot;,&quot;description&quot;:&quot;Relationship connections between characters or entities&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/bond&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/character&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/character&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Character&quot;,&quot;description&quot;:&quot;Rich character profiles with sections for backstory, abilities, and more&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/character&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/faction&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/faction&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Faction&quot;,&quot;description&quot;:&quot;Organizations and groups with ranks, holdings, and alignment&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/faction&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/lore&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/lore&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Lore&quot;,&quot;description&quot;:&quot;In-world knowledge entries for myths, prophecies, and historical records&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/lore&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/plot&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/plot&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Plot&quot;,&quot;description&quot;:&quot;Story arcs and quest trackers with progress markers&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/plot&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/realm&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/realm&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Realm&quot;,&quot;description&quot;:&quot;Location profiles for worldbuilding with geography and notable features&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/realm&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]},{&quot;id&quot;:&quot;/runes/storytelling/storyboard&quot;,&quot;type&quot;:&quot;page&quot;,&quot;url&quot;:&quot;/runes/storytelling/storyboard&quot;,&quot;data&quot;:{&quot;title&quot;:&quot;Storyboard&quot;,&quot;description&quot;:&quot;Comic and storyboard layouts from images and captions&quot;,&quot;category&quot;:&quot;Storytelling&quot;,&quot;plugin&quot;:&quot;storytelling&quot;,&quot;status&quot;:&quot;stable&quot;,&quot;url&quot;:&quot;/runes/storytelling/storyboard&quot;,&quot;parentUrl&quot;:&quot;/runes/storytelling&quot;,&quot;draft&quot;:false},&quot;children&quot;:[]}]}]}" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;</code></pre>
  </template>
  <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;style&gt;
  html, body { height: 100%; margin: 0; overflow: hidden; }
  /* A window into space — a deep dark backdrop in both themes so the stars glow. */
  body { background: radial-gradient(ellipse at 50% 45%, #1b1a24 0%, #0b0a10 70%); }
  #c { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
  #c:active { cursor: grabbing; }
  #tip {
    position: fixed; left: 0; top: 0; pointer-events: none; z-index: 2;
    padding: 2px 9px; border-radius: 6px; opacity: 0;
    font: 12px/1.4 system-ui, -apple-system, sans-serif;
    background: rgba(20,18,23,.92); color: #f6f4ef; white-space: nowrap;
    transform: translate(-50%, -160%); transition: opacity .12s;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
  }
  #fallback {
    display: none; height: 100%; box-sizing: border-box; padding: 1.5rem;
    align-items: center; justify-content: center; text-align: center;
    font: 14px/1.5 system-ui, -apple-system, sans-serif; color: #9a96a4;
  }
&lt;/style&gt;

&lt;canvas id=&quot;c&quot;&gt;&lt;/canvas&gt;
&lt;div id=&quot;tip&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;fallback&quot;&gt;A 3D star-map of the page registry renders here — it needs WebGL and JavaScript. The page list below is the accessible equivalent.&lt;/div&gt;

&lt;script type=&quot;module&quot;&gt;
  const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
  const canvas = document.getElementById('c');
  const tip = document.getElementById('tip');
  const showFallback = () =&gt; { canvas.style.display = 'none'; document.getElementById('fallback').style.display = 'flex'; };

  // Deterministic 0..1 hash from a string (stable layout across renders).
  const hash = (s) =&gt; { let h = 2166136261; for (let i = 0; i &lt; s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); } return ((h &gt;&gt;&gt; 0) % 100000) / 100000; };

  try {
    const DATA = window.RF_DATA;
    if (!DATA || DATA.shape !== 'tree' || !Array.isArray(DATA.tree) || DATA.tree.length === 0) throw new Error('no tree');
    const THREE = await import('https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js');

    // ── Build node records (parent / children / depth / subtree size) ────────
    const all = [];
    function build(node, parent, depth) {
      const rec = { url: node.url, title: (node.data &amp;&amp; node.data.title) || node.url, depth, parent, children: [], size: 1, world: new THREE.Vector3() };
      all.push(rec);
      (node.children || []).forEach((c) =&gt; rec.children.push(build(c, rec, depth + 1)));
      rec.size += rec.children.reduce((s, c) =&gt; s + c.size, 0);
      return rec;
    }
    const roots = DATA.tree.map((r) =&gt; build(r, null, 0));

    // ── Lay roots out on a golden-angle galaxy disc (big systems near the core)
    const GA = Math.PI * (3 - Math.sqrt(5));
    roots.slice().sort((a, b) =&gt; b.size - a.size).forEach((r, i) =&gt; {
      const rad = Math.sqrt(i + 0.7) * 2.7;
      const ang = i * GA;
      r.basePos = new THREE.Vector3(Math.cos(ang) * rad, (hash(r.url) - 0.5) * 3, Math.sin(ang) * rad);
    });

    // ── Give every descendant an orbit around its parent (nested, shrinking) ─
    function assignOrbits(rec) {
      const kids = rec.children;
      if (!kids.length) return;
      const ring = (1.5 + kids.length * 0.16) / (1 + rec.depth * 0.7);
      const h = hash(rec.url || 'core');
      const axis = new THREE.Vector3(Math.sin(h * 6.283) * 0.7, 1, Math.cos(h * 6.283) * 0.7).normalize();
      const dir = rec.depth % 2 ? -1 : 1;
      kids.forEach((k, i) =&gt; {
        k.orbit = { radius: ring, angle0: (i / kids.length) * 6.283 + h * 6.283, speed: dir * 0.45 / ring, axis };
        assignOrbits(k);
      });
    }
    roots.forEach(assignOrbits);

    // ── Scene ────────────────────────────────────────────────────────────────
    const renderer = new THREE.WebGLRenderer({ canvas, antialias: true });
    renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
    const scene = new THREE.Scene();
    const camera = new THREE.PerspectiveCamera(55, 1, 0.1, 400);
    const group = new THREE.Group();
    scene.add(group);

    // Galactic core glow + the light that warms the disc.
    group.add(new THREE.Mesh(new THREE.SphereGeometry(0.7, 24, 24), new THREE.MeshBasicMaterial({ color: 0xffd9a8 })));
    group.add(new THREE.PointLight(0xffe6c0, 2.2, 0, 0.6));
    scene.add(new THREE.AmbientLight(0x8088aa, 0.5));

    // Nodes — emissive spheres; stars (roots) sized by subtree, planets shrink.
    const geo = new THREE.SphereGeometry(1, 18, 18);
    const meshes = [];
    for (const rec of all) {
      const isStar = !rec.parent;
      const r = isStar ? 0.22 + Math.min(rec.size, 40) * 0.012 : Math.max(0.07, 0.18 / rec.depth);
      const color = isStar
        ? new THREE.Color().setHSL(0.96 - Math.min(rec.size, 28) * 0.006, 0.72, 0.62)
        : new THREE.Color().setHSL(0.55 + rec.depth * 0.05, 0.55, 0.62);
      const mat = new THREE.MeshStandardMaterial({ color, emissive: color, emissiveIntensity: isStar ? 0.7 : 0.35, roughness: 0.5, metalness: 0.1 });
      const m = new THREE.Mesh(geo, mat);
      m.scale.setScalar(r);
      m.userData = { rec, baseScale: r, twinkle: hash(rec.url) * 6.283 };
      group.add(m);
      meshes.push(m);
    }

    // Orbit edges (parent → child), positions refreshed each frame.
    const edgePairs = all.filter((r) =&gt; r.parent).map((r) =&gt; [r, r.parent]);
    const edgePos = new Float32Array(edgePairs.length * 6);
    const edgeGeo = new THREE.BufferGeometry();
    edgeGeo.setAttribute('position', new THREE.BufferAttribute(edgePos, 3));
    group.add(new THREE.LineSegments(edgeGeo, new THREE.LineBasicMaterial({ color: 0x8a86ff, transparent: true, opacity: 0.13 })));

    // Distant starfield backdrop.
    const SF = 1400, sf = new Float32Array(SF * 3);
    for (let i = 0; i &lt; SF; i++) {
      const rr = 60 + Math.random() * 120, th = Math.random() * 6.283, ph = Math.acos(2 * Math.random() - 1);
      sf[i * 3] = rr * Math.sin(ph) * Math.cos(th); sf[i * 3 + 1] = rr * Math.cos(ph); sf[i * 3 + 2] = rr * Math.sin(ph) * Math.sin(th);
    }
    const sfGeo = new THREE.BufferGeometry(); sfGeo.setAttribute('position', new THREE.BufferAttribute(sf, 3));
    scene.add(new THREE.Points(sfGeo, new THREE.PointsMaterial({ color: 0xc9c6e0, size: 0.5, sizeAttenuation: true, transparent: true, opacity: 0.6 })));

    // ── Position update (top-down: roots fixed, children orbit parents) ───────
    const _u = new THREE.Vector3(), _v = new THREE.Vector3();
    const perp = (n, o) =&gt; { o.set(Math.abs(n.x) &lt; 0.9 ? 1 : 0, Math.abs(n.x) &lt; 0.9 ? 0 : 1, 0); return o.crossVectors(n, o).normalize(); };
    function place(rec, t) {
      if (!rec.parent) rec.world.copy(rec.basePos);
      else {
        const o = rec.orbit, a = o.angle0 + t * o.speed;
        perp(o.axis, _u); _v.crossVectors(o.axis, _u);
        rec.world.copy(rec.parent.world).addScaledVector(_u, Math.cos(a) * o.radius).addScaledVector(_v, Math.sin(a) * o.radius);
      }
      rec.children.forEach((c) =&gt; place(c, t));
    }

    // Camera framing from the root disc bounds.
    const box = new THREE.Box3(); roots.forEach((r) =&gt; box.expandByPoint(r.basePos));
    const sph = box.getBoundingSphere(new THREE.Sphere());
    const view = { center: sph.center.clone(), dist: Math.max(8, sph.radius / Math.sin((camera.fov / 2) * Math.PI / 180) * 1.15) };
    function resize() {
      const w = canvas.clientWidth, h = canvas.clientHeight; if (!w || !h) return;
      renderer.setSize(w, h, false); camera.aspect = w / h; camera.updateProjectionMatrix();
    }
    resize(); window.addEventListener('resize', resize);

    // ── Controls: drag to rotate, gentle auto-spin (off for reduced motion) ───
    let rotX = 0.5, rotY = 0.5, dragging = false, lx = 0, ly = 0;
    canvas.addEventListener('pointerdown', (e) =&gt; { dragging = true; lx = e.clientX; ly = e.clientY; canvas.setPointerCapture(e.pointerId); });
    canvas.addEventListener('pointerup', (e) =&gt; { dragging = false; canvas.releasePointerCapture?.(e.pointerId); });
    canvas.addEventListener('pointermove', (e) =&gt; {
      if (dragging) { rotY += (e.clientX - lx) * 0.005; rotX = Math.max(-1.3, Math.min(1.3, rotX + (e.clientY - ly) * 0.005)); lx = e.clientX; ly = e.clientY; }
      hover(e);
    });

    // ── Hover tooltip + click-to-navigate ────────────────────────────────────
    const ray = new THREE.Raycaster(); const ndc = new THREE.Vector2(); let hovered = null;
    function pick(e) {
      const r = canvas.getBoundingClientRect();
      ndc.set(((e.clientX - r.left) / r.width) * 2 - 1, -((e.clientY - r.top) / r.height) * 2 + 1);
      ray.setFromCamera(ndc, camera);
      return ray.intersectObjects(meshes, false)[0]?.object ?? null;
    }
    function hover(e) {
      const hit = pick(e);
      hovered = hit;
      if (hovered) { tip.textContent = hovered.userData.rec.title; tip.style.left = e.clientX + 'px'; tip.style.top = e.clientY + 'px'; tip.style.opacity = '1'; canvas.style.cursor = 'pointer'; }
      else { tip.style.opacity = '0'; canvas.style.cursor = dragging ? 'grabbing' : 'grab'; }
    }
    canvas.addEventListener('click', (e) =&gt; {
      const hit = pick(e);
      if (hit?.userData?.rec?.url) { try { window.top.location.href = hit.userData.rec.url; } catch { window.open(hit.userData.rec.url, '_top'); } }
    });

    // ── Loop ──────────────────────────────────────────────────────────────────
    const t0 = performance.now();
    function frame(now) {
      const t = reduce ? 0 : (now - t0) / 1000;
      for (const r of roots) place(r, t);
      for (const m of meshes) {
        m.position.copy(m.userData.rec.world);
        const tw = reduce ? 1 : 1 + Math.sin(t * 2 + m.userData.twinkle) * (m.userData.rec.parent ? 0 : 0.12);
        m.scale.setScalar(m.userData.baseScale * (m === hovered ? 1.5 : 1) * tw);
      }
      edgePairs.forEach(([a, b], i) =&gt; { a.world.toArray(edgePos, i * 6); b.world.toArray(edgePos, i * 6 + 3); });
      edgeGeo.attributes.position.needsUpdate = true;
      if (!reduce &amp;&amp; !dragging) rotY += 0.0016;
      group.rotation.set(rotX, rotY, 0);
      camera.position.set(view.center.x, view.center.y + view.dist * 0.18, view.center.z + view.dist);
      camera.lookAt(view.center);
      renderer.render(scene, camera);
      requestAnimationFrame(frame);
    }
    requestAnimationFrame(frame);
  } catch (err) {
    showFallback();
  }
&lt;/script&gt;

&lt;/div&gt;</template>
</rf-sandbox>

Give a data-bound visualization an accessible fallback: a {% collection %} or {% aggregate %} running the same query, so readers without JavaScript or WebGL, and screen-reader users, still get the data.

Choose what the source panel shows

Inside {% preview source=true %}, mark elements with data-source to choose what the source panel shows. Unmarked elements, such as wrappers, still render but stay out of the panel. A named value (data-source="CSS") gets its own tab.

{% sandbox %}
<style data-source="CSS">
  .card {
    font-family: system-ui;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    max-width: 300px;
  }
  .card h3 { margin: 0 0 8px; }
  .card p { margin: 0; color: #6b7280; }
  @media (prefers-color-scheme: dark) {
    .card { border-color: #374151; }
    .card p { color: #9ca3af; }
  }
  [data-theme="dark"] .card { border-color: #374151; }
  [data-theme="dark"] .card p { color: #9ca3af; }
</style>
<div class="wrapper" style="padding: 24px;">
  <div data-source="HTML" class="card">
    <h3>Weekly digest</h3>
    <p>Every Monday: new releases, open issues and the week's top threads.</p>
  </div>
</div>
{% /sandbox %}
<rf-sandbox data-rune="sandbox" data-source-content="&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;" data-height="auto" data-security-mode="trusted" data-allow-js="true">
  <template data-content="fallback">
    <pre data-language="html">
      <code data-language="html">&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;</code>
    </pre>
  </template>
  <template data-content="source">&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;</template>
</rf-sandbox>
<rf-sandbox class="rf-sandbox" data-source-content="&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;" data-height="auto" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
  <template data-content="fallback">
    <pre data-language="html"><code data-language="html">&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;</code></pre>
  </template>
  <template data-content="source">&lt;style data-source=&quot;CSS&quot;&gt;
	  .card {
	    font-family: system-ui;
	    border: 1px solid #e5e7eb;
	    border-radius: 12px;
	    padding: 24px;
	    max-width: 300px;
	  }
	  .card h3 { margin: 0 0 8px; }
	  .card p { margin: 0; color: #6b7280; }
	  @media (prefers-color-scheme: dark) {
	    .card { border-color: #374151; }
	    .card p { color: #9ca3af; }
	  }
	  [data-theme=&quot;dark&quot;] .card { border-color: #374151; }
	  [data-theme=&quot;dark&quot;] .card p { color: #9ca3af; }
	&lt;/style&gt;
	&lt;div class=&quot;wrapper&quot; style=&quot;padding: 24px;&quot;&gt;
	  &lt;div data-source=&quot;HTML&quot; class=&quot;card&quot;&gt;
	    &lt;h3&gt;Weekly digest&lt;/h3&gt;
	    &lt;p&gt;Every Monday: new releases, open issues and the week's top threads.&lt;/p&gt;
	  &lt;/div&gt;
	&lt;/div&gt;</template>
</rf-sandbox>

Fill the height of its container

height takes pixels, or sizes itself to the content when omitted. Set height="fill" when the container decides the height. A sandbox used as a cover backdrop gets it automatically.

{% sandbox src="wireframe-waves" height="fill" /%}

Inside a filling sandbox, size a full-bleed canvas with position: fixed; inset: 0; height: 100% collapses.

Use your design tokens

context names a {% design-context %} by its scope, and the sandbox receives its tokens as CSS custom properties (--color-*, --font-*, --spacing-unit, --radius-*, --shadow-*) along with its Google Fonts.

{% sandbox context="brand" %}
<div style="color: var(--color-primary); font-family: var(--font-body)">
  Styled with brand tokens
</div>
{% /sandbox %}

Attributes

AttributeTypeRequiredDescription
srcstring—Directory containing external source files
frameworkstring—JavaScript framework for the sandbox
dependenciesstring—Comma-separated npm packages to include
labelstring—Label displayed above the sandbox
heightunknown—Height of the sandbox iframe: pixels, "fill" (host owns height), or auto
contextstring—Shared context scope for multiple sandboxes
activation"eager" | "visible" | "click"—When to mount the iframe: eager (default) | visible | click
posterstring—Poster image URL shown until a non-eager sandbox activates
datastring—Registry query (`field:value` clauses, e.g. "type:page") bound into the iframe as window.RF_DATA
data-fieldsstring—Comma-separated entity data fields to project into the payload
data-shapestring—Payload shape: flat (default) | tree (nest by parentUrl) | graph (nodes + relationship edges)
data-limitnumber—Max records in the payload (default 500)

Universal attributes

bg

The background layer: image, video, gradient, flat overlay wash and legibility scrim, in a single injected layer behind the rune's content.

AttributeTypeRequiredDescription
bgstring—Background preset applied to this block
bg-fromstring—Gradient start colour — a semantic token name (→ var(--rf-color-*))
bg-gradient"to-t" | "to-b" | "to-l" | "to-r" | "to-tr" | "to-br" | "to-bl" | "to-tl"—Gradient direction (bounded named set)
bg-gradient-type"linear" | "radial" | "conic"—Gradient type
bg-tostring—Gradient end colour — a semantic token name
bg-viastring—Optional middle gradient stop — a semantic token name
scrim"top" | "bottom" | "left" | "right" | "none"—Scrim direction (heaviest edge); presence turns the scrim on, "none" opts out of the default cover scrim
scrim-blur"none" | "sm" | "md" | "lg"—Frost scrim blur amount
scrim-strength"sm" | "md" | "lg"—Gradient scrim strength
scrim-tone"dark" | "light"—Whether the scrim darkens (for light text) or lightens (for dark text)
scrim-type"gradient" | "frost"—Scrim treatment: gradient (default) or frost (backdrop blur)
elevation

How far the rune sits off the page, from sunken to overlay. The theme decides what each step looks like.

AttributeTypeRequiredDescription
elevation"sunken" | "flush" | "flat" | "raised" | "floating" | "overlay" | "none" | "sm" | "md" | "lg"—Surface depth, from sunken to overlay. Deprecated: none, sm, md and lg (read as flat, raised, raised and floating)
inset

Internal padding override.

AttributeTypeRequiredDescription
inset"flush" | "tight" | "default" | "loose" | "breathe"—Inner padding of this block
motion

Scroll-reveal entrance. You choose its character; the theme decides how it moves.

AttributeTypeRequiredDescription
reveal"none" | "fade" | "slide" | "scale" | "blur"—Scroll-reveal entrance character (none|fade|slide|scale|blur); the theme owns the choreography
staggerboolean—Cascade this block's items in as it reveals (no-op on single-child runes)
spacing

Block-level rhythm override.

AttributeTypeRequiredDescription
spacing"flush" | "tight" | "default" | "loose" | "breathe"—Vertical spacing above and below this block
substrate

Generated pattern fills behind the content, drawn by the theme.

AttributeTypeRequiredDescription
substrate"dots" | "grid" | "lines" | "cross" | "checker" | "none"—Generated surface pattern
substrate-fill"inherit" | "inset"—Surface fill the pattern sits on (full colour stays with tint)
substrate-opacity"sm" | "md" | "lg"—Pattern ink strength
substrate-size"sm" | "md" | "lg"—Pattern cell size
substrate-target"self" | "media"—Which surface the pattern fills (overrides the rune/theme default)
tint

Per-rune colour override: a named tint from the theme registry, with inline per-token overrides layered on top.

AttributeTypeRequiredDescription
tintstring—Color tint preset applied to this block
tint-mode"auto" | "dark" | "light"—Whether the tint adapts to auto, dark, or light mode
width

The track a block rune occupies.

AttributeTypeRequiredDescription
width"compact" | "narrow" | "content" | "wide" | "full"—Maximum width constraint for this block
Not availableWhy
dropcap, readingthis rune declares no prose body
framethis rune declares neither a `frameTarget` nor a media section
prominencethis rune has no page-section header or featured quotation