Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
public
|
|
|
accessible-overlay
command
|
|
|
advanced-form
command
|
|
|
agent-demo
command
Command agent-demo is a tiny app whose entire visible state lives in atoms, so an AI agent can change the title, counter, message, and colors live over the agent bridge while you watch in the browser.
|
Command agent-demo is a tiny app whose entire visible state lives in atoms, so an AI agent can change the title, counter, message, and colors live over the agent bridge while you watch in the browser. |
|
agentui-registry
command
|
|
|
async-boundary
command
|
|
|
bind-to
command
|
|
|
blog
command
|
|
|
browser-interop
command
|
|
|
browser-router
command
|
|
|
calculator
command
|
|
|
code-splitting
command
|
|
|
composite-navigation
command
|
|
|
context-api
command
|
|
|
counter
command
|
|
|
create-element
command
|
|
|
cross-tab-sync
command
|
|
|
devtools
command
|
|
|
devtools-diagnostics
command
|
|
|
devtools-panel
command
|
|
|
disclosure-demo
command
Command disclosure-demo renders the WAI-ARIA disclosure pattern (the `gwc add disclosure` component shape) as a real wasm app, so the browser-lane test can drive the interaction: a button toggles aria-expanded and shows/hides the controlled region.
|
Command disclosure-demo renders the WAI-ARIA disclosure pattern (the `gwc add disclosure` component shape) as a real wasm app, so the browser-lane test can drive the interaction: a button toggles aria-expanded and shows/hides the controlled region. |
|
dom-ref
command
Command dom-ref is the runnable e2e fixture for the G2 DOM-ref primitive (ui.UseDOMRef + shorthand.Ref).
|
Command dom-ref is the runnable e2e fixture for the G2 DOM-ref primitive (ui.UseDOMRef + shorthand.Ref). |
|
error-boundary
command
|
|
|
error-overlay
command
|
|
|
exported-custom-element
command
|
|
|
feature-flags
command
|
|
|
fetch
command
|
|
|
fetch-imperative
command
|
|
|
fine-grained-signal
command
|
|
|
flip-demo
command
Command flip-demo renders a keyed list that reorders on click and computes the FLIP invert transform for each item from its measured before/after rects (via anim.ComputeFLIP), so the browser-lane test can verify keyed-list FLIP in a real browser.
|
Command flip-demo renders a keyed list that reorders on click and computes the FLIP invert transform for each item from its measured before/after rects (via anim.ComputeFLIP), so the browser-lane test can verify keyed-list FLIP in a real browser. |
|
flip-keyed-list
command
|
|
|
form
command
|
|
|
form-accessibility
command
|
|
|
fragment
command
|
|
|
global-events
command
Command global-events is the e2e fixture for G9 (ui.UseGlobalKey): a child component owns a document-level keydown listener and increments a counter that lives in the parent (so it survives the child's unmount/remount).
|
Command global-events is the e2e fixture for G9 (ui.UseGlobalKey): a child component owns a document-level keydown listener and increments a counter that lives in the parent (so it survives the child's unmount/remount). |
|
goroutines
command
|
|
|
hash-router
command
|
|
|
hot-reload
command
|
|
|
html-forms
command
|
|
|
html-tag
command
|
|
|
hydration
command
|
|
|
lazy-loading
command
|
|
|
locale-routing
command
|
|
|
locale-switcher
command
|
|
|
localfirst-crdt
command
|
|
|
localfirst-presence
command
|
|
|
multi-client-binary
command
|
|
|
multi-client-presence
command
|
|
|
multi-window-console
command
|
|
|
named-slots
command
|
|
|
nested-layout-routes
command
|
|
|
nested-routes
command
|
|
|
omi
command
|
|
|
overlay-anchor
command
|
|
|
overlay-stack
command
|
|
|
plugin-host
command
|
|
|
portal-selector
command
|
|
|
portal-target
command
|
|
|
portals
command
|
|
|
portfolio-site
command
|
|
|
progressive-web-app-multi-client
command
|
|
|
protected-routes
command
|
|
|
radiogroup
command
Command radiogroup is the e2e fixture for U5: an interactive WAI-ARIA radio group built by composing ui.UseCompositeNavigation (the existing roving- tabindex engine) with role=radio/aria-checked and the G2 DOM ref for focus-follows-selection — no per-control reimplementation.
|
Command radiogroup is the e2e fixture for U5: an interactive WAI-ARIA radio group built by composing ui.UseCompositeNavigation (the existing roving- tabindex engine) with role=radio/aria-checked and the G2 DOM ref for focus-follows-selection — no per-control reimplementation. |
|
raw-handler
command
|
|
|
raw-html
command
Command raw-html is the e2e fixture for the G3 markup nodes (html.RawHTML / RawHTMLUnsafe): it renders sanitized rich text and a trusted inline SVG, each parsed into real nodes (never innerHTML).
|
Command raw-html is the e2e fixture for the G3 markup nodes (html.RawHTML / RawHTMLUnsafe): it renders sanitized rich text and a trusted inline SVG, each parsed into real nodes (never innerHTML). |
|
ready-signal
command
Command ready-signal is the e2e fixture for G16 (ui.OnReady + the gwc:ready DOM event): it records the Go ready callback firing, and the host page listens for the dispatched gwc:ready event — both after the first commit.
|
Command ready-signal is the e2e fixture for G16 (ui.OnReady + the gwc:ready DOM event): it records the Go ready callback firing, and the host page listens for the dispatched gwc:ready event — both after the first commit. |
|
route-loaders
command
|
|
|
route-params
command
|
|
|
route-query
command
|
|
|
routed-accessibility
command
|
|
|
router-guards
command
|
|
|
router-hydrate-mount
command
|
|
|
router-metadata
command
|
|
|
router-redirects
command
|
|
|
semantic-html
command
|
|
|
shared-form-validation
command
|
|
|
single-shell-auth
command
|
|
|
snapshot-export-import
command
|
|
|
snapshot-now
command
|
|
|
snapshot-storage
command
|
|
|
sqlite-persistence
command
|
|
|
state-atoms
command
|
|
|
static-islands
command
|
|
|
text-input
command
|
|
|
third-party-js
Package thirdpartyjs is a worked example of integrating a third-party JavaScript library behind a TYPED Go bridge using interop.ImportModule, with a pure-Go fallback so the exact same code runs on the server (SSR/native) where no JS module loader exists.
|
Package thirdpartyjs is a worked example of integrating a third-party JavaScript library behind a TYPED Go bridge using interop.ImportModule, with a pure-Go fallback so the exact same code runs on the server (SSR/native) where no JS module loader exists. |
|
timetravel-devpanel
command
|
|
|
timetravel-history
command
|
|
|
todo-advanced
command
|
|
|
todo-basic
command
|
|
|
toggle
command
|
|
|
transition-hooks
command
|
|
|
typed-css
command
Command typed-css is the runnable demo for the F3 typed-CSS package.
|
Command typed-css is the runnable demo for the F3 typed-CSS package. |
|
typed-css-tokens-demo
Package typedcsstokensdemo shows `gwc css gen` against a real theme: theme.json is the source of truth, `gwc css gen -theme theme.json` writes the typed token constants in css_tokens_gen.go, and a typo'd token reference is then a compile error instead of a silent transparent fallback.
|
Package typedcsstokensdemo shows `gwc css gen` against a real theme: theme.json is the source of truth, `gwc css gen -theme theme.json` writes the typed token constants in css_tokens_gen.go, and a typo'd token reference is then a compile error instead of a silent transparent fallback. |
|
typed-decode-query
command
|
|
|
typed-events
command
|
|
|
typed-routes-demo
Package typedroutesdemo shows `gwc routes gen` against a real package: declare route contracts as exported package vars, run `gwc routes gen`, and get typed Link* constructors in routes_gen.go that turn a typo'd path param into a compile error.
|
Package typedroutesdemo shows `gwc routes gen` against a real package: declare route contracts as exported package vars, run `gwc routes gen`, and get typed Link* constructors in routes_gen.go that turn a typo'd path param into a compile error. |
|
ui-render
command
|
|
|
use-atom
command
|
|
|
use-cached-resource
command
|
|
|
use-callback
command
|
|
|
use-channel
command
|
|
|
use-computed
command
|
|
|
use-debounced
command
|
|
|
use-deferred-value
command
|
|
|
use-derived
command
|
|
|
use-effect
command
|
|
|
use-fetch
command
|
|
|
use-form
command
|
|
|
use-head
command
Command use-head is the runnable e2e fixture for head.UseHead: it applies a Document's title and head tags (description, canonical, OpenGraph) to the live document on mount, and changes them when a button switches the logical page — exercised by the playwright e2e to prove client-side head updates (not just title) without a full reload.
|
Command use-head is the runnable e2e fixture for head.UseHead: it applies a Document's title and head tags (description, canonical, OpenGraph) to the live document on mount, and changes them when a button switches the logical page — exercised by the playwright e2e to prove client-side head updates (not just title) without a full reload. |
|
use-id
command
|
|
|
use-inspect
command
|
|
|
use-lazy-node
command
|
|
|
use-navigate
command
|
|
|
use-previous
command
|
|
|
use-query
command
|
|
|
use-reducer
command
|
|
|
use-ref
command
|
|
|
use-resource
command
|
|
|
use-revalidator
command
|
|
|
use-snapshot
command
|
|
|
use-state
command
|
|
|
use-task
command
|
|
|
use-throttled
command
|
|
|
virtualized-feed
command
|
|
|
web-components
command
|
|
|
worker-text-index
command
|
|
|
assets/code/accessible-overlay
command
|
|
|
assets/code/advanced-form
command
|
|
|
assets/code/agent-demo
command
Command agent-demo is a tiny app whose entire visible state lives in atoms, so an AI agent can change the title, counter, message, and colors live over the agent bridge while you watch in the browser.
|
Command agent-demo is a tiny app whose entire visible state lives in atoms, so an AI agent can change the title, counter, message, and colors live over the agent bridge while you watch in the browser. |
|
assets/code/agentui-registry
command
|
|
|
assets/code/async-boundary
command
|
|
|
assets/code/bind-to
command
|
|
|
assets/code/blog
command
|
|
|
assets/code/browser-interop
command
|
|
|
assets/code/browser-router
command
|
|
|
assets/code/calculator
command
|
|
|
assets/code/code-splitting
command
|
|
|
assets/code/composite-navigation
command
|
|
|
assets/code/context-api
command
|
|
|
assets/code/counter
command
|
|
|
assets/code/create-element
command
|
|
|
assets/code/cross-tab-sync
command
|
|
|
assets/code/devtools
command
|
|
|
assets/code/devtools-diagnostics
command
|
|
|
assets/code/devtools-panel
command
|
|
|
assets/code/disclosure-demo
command
Command disclosure-demo renders the WAI-ARIA disclosure pattern (the `gwc add disclosure` component shape) as a real wasm app, so the browser-lane test can drive the interaction: a button toggles aria-expanded and shows/hides the controlled region.
|
Command disclosure-demo renders the WAI-ARIA disclosure pattern (the `gwc add disclosure` component shape) as a real wasm app, so the browser-lane test can drive the interaction: a button toggles aria-expanded and shows/hides the controlled region. |
|
assets/code/dom-ref
command
Command dom-ref is the runnable e2e fixture for the G2 DOM-ref primitive (ui.UseDOMRef + shorthand.Ref).
|
Command dom-ref is the runnable e2e fixture for the G2 DOM-ref primitive (ui.UseDOMRef + shorthand.Ref). |
|
assets/code/error-boundary
command
|
|
|
assets/code/error-overlay
command
|
|
|
assets/code/feature-flags
command
|
|
|
assets/code/fetch
command
|
|
|
assets/code/fetch-imperative
command
|
|
|
assets/code/fine-grained-signal
command
|
|
|
assets/code/flip-demo
command
Command flip-demo renders a keyed list that reorders on click and computes the FLIP invert transform for each item from its measured before/after rects (via anim.ComputeFLIP), so the browser-lane test can verify keyed-list FLIP in a real browser.
|
Command flip-demo renders a keyed list that reorders on click and computes the FLIP invert transform for each item from its measured before/after rects (via anim.ComputeFLIP), so the browser-lane test can verify keyed-list FLIP in a real browser. |
|
assets/code/flip-keyed-list
command
|
|
|
assets/code/form
command
|
|
|
assets/code/form-accessibility
command
|
|
|
assets/code/fragment
command
|
|
|
assets/code/global-events
command
Command global-events is the e2e fixture for G9 (ui.UseGlobalKey): a child component owns a document-level keydown listener and increments a counter that lives in the parent (so it survives the child's unmount/remount).
|
Command global-events is the e2e fixture for G9 (ui.UseGlobalKey): a child component owns a document-level keydown listener and increments a counter that lives in the parent (so it survives the child's unmount/remount). |
|
assets/code/goroutines
command
|
|
|
assets/code/hash-router
command
|
|
|
assets/code/hot-reload
command
|
|
|
assets/code/html-forms
command
|
|
|
assets/code/html-tag
command
|
|
|
assets/code/hydration
command
|
|
|
assets/code/lazy-loading
command
|
|
|
assets/code/locale-routing
command
|
|
|
assets/code/locale-switcher
command
|
|
|
assets/code/localfirst-crdt
command
|
|
|
assets/code/localfirst-presence
command
|
|
|
assets/code/multi-client-binary
command
|
|
|
assets/code/multi-window-console
command
|
|
|
assets/code/named-slots
command
|
|
|
assets/code/nested-layout-routes
command
|
|
|
assets/code/nested-routes
command
|
|
|
assets/code/omi
command
|
|
|
assets/code/overlay-anchor
command
|
|
|
assets/code/overlay-stack
command
|
|
|
assets/code/plugin-host
command
|
|
|
assets/code/portal-selector
command
|
|
|
assets/code/portal-target
command
|
|
|
assets/code/portals
command
|
|
|
assets/code/portfolio-site
command
|
|
|
assets/code/protected-routes
command
|
|
|
assets/code/radiogroup
command
Command radiogroup is the e2e fixture for U5: an interactive WAI-ARIA radio group built by composing ui.UseCompositeNavigation (the existing roving- tabindex engine) with role=radio/aria-checked and the G2 DOM ref for focus-follows-selection — no per-control reimplementation.
|
Command radiogroup is the e2e fixture for U5: an interactive WAI-ARIA radio group built by composing ui.UseCompositeNavigation (the existing roving- tabindex engine) with role=radio/aria-checked and the G2 DOM ref for focus-follows-selection — no per-control reimplementation. |
|
assets/code/raw-handler
command
|
|
|
assets/code/raw-html
command
Command raw-html is the e2e fixture for the G3 markup nodes (html.RawHTML / RawHTMLUnsafe): it renders sanitized rich text and a trusted inline SVG, each parsed into real nodes (never innerHTML).
|
Command raw-html is the e2e fixture for the G3 markup nodes (html.RawHTML / RawHTMLUnsafe): it renders sanitized rich text and a trusted inline SVG, each parsed into real nodes (never innerHTML). |
|
assets/code/ready-signal
command
Command ready-signal is the e2e fixture for G16 (ui.OnReady + the gwc:ready DOM event): it records the Go ready callback firing, and the host page listens for the dispatched gwc:ready event — both after the first commit.
|
Command ready-signal is the e2e fixture for G16 (ui.OnReady + the gwc:ready DOM event): it records the Go ready callback firing, and the host page listens for the dispatched gwc:ready event — both after the first commit. |
|
assets/code/route-loaders
command
|
|
|
assets/code/route-params
command
|
|
|
assets/code/route-query
command
|
|
|
assets/code/routed-accessibility
command
|
|
|
assets/code/router-guards
command
|
|
|
assets/code/router-hydrate-mount
command
|
|
|
assets/code/router-metadata
command
|
|
|
assets/code/router-redirects
command
|
|
|
assets/code/semantic-html
command
|
|
|
assets/code/single-shell-auth
command
|
|
|
assets/code/snapshot-now
command
|
|
|
assets/code/snapshot-storage
command
|
|
|
assets/code/sqlite-persistence
command
|
|
|
assets/code/state-atoms
command
|
|
|
assets/code/static-islands
command
|
|
|
assets/code/text-input
command
|
|
|
assets/code/third-party-js
Package thirdpartyjs is a worked example of integrating a third-party JavaScript library behind a TYPED Go bridge using interop.ImportModule, with a pure-Go fallback so the exact same code runs on the server (SSR/native) where no JS module loader exists.
|
Package thirdpartyjs is a worked example of integrating a third-party JavaScript library behind a TYPED Go bridge using interop.ImportModule, with a pure-Go fallback so the exact same code runs on the server (SSR/native) where no JS module loader exists. |
|
assets/code/timetravel-devpanel
command
|
|
|
assets/code/timetravel-history
command
|
|
|
assets/code/todo-advanced
command
|
|
|
assets/code/todo-basic
command
|
|
|
assets/code/toggle
command
|
|
|
assets/code/transition-hooks
command
|
|
|
assets/code/typed-css
command
Command typed-css is the runnable demo for the F3 typed-CSS package.
|
Command typed-css is the runnable demo for the F3 typed-CSS package. |
|
assets/code/typed-css-tokens-demo
Package typedcsstokensdemo shows `gwc css gen` against a real theme: theme.json is the source of truth, `gwc css gen -theme theme.json` writes the typed token constants in css_tokens_gen.go, and a typo'd token reference is then a compile error instead of a silent transparent fallback.
|
Package typedcsstokensdemo shows `gwc css gen` against a real theme: theme.json is the source of truth, `gwc css gen -theme theme.json` writes the typed token constants in css_tokens_gen.go, and a typo'd token reference is then a compile error instead of a silent transparent fallback. |
|
assets/code/typed-decode-query
command
|
|
|
assets/code/typed-events
command
|
|
|
assets/code/typed-routes-demo
Package typedroutesdemo shows `gwc routes gen` against a real package: declare route contracts as exported package vars, run `gwc routes gen`, and get typed Link* constructors in routes_gen.go that turn a typo'd path param into a compile error.
|
Package typedroutesdemo shows `gwc routes gen` against a real package: declare route contracts as exported package vars, run `gwc routes gen`, and get typed Link* constructors in routes_gen.go that turn a typo'd path param into a compile error. |
|
assets/code/ui-render
command
|
|
|
assets/code/use-atom
command
|
|
|
assets/code/use-cached-resource
command
|
|
|
assets/code/use-callback
command
|
|
|
assets/code/use-channel
command
|
|
|
assets/code/use-computed
command
|
|
|
assets/code/use-debounced
command
|
|
|
assets/code/use-deferred-value
command
|
|
|
assets/code/use-derived
command
|
|
|
assets/code/use-effect
command
|
|
|
assets/code/use-fetch
command
|
|
|
assets/code/use-form
command
|
|
|
assets/code/use-head
command
Command use-head is the runnable e2e fixture for head.UseHead: it applies a Document's title and head tags (description, canonical, OpenGraph) to the live document on mount, and changes them when a button switches the logical page — exercised by the playwright e2e to prove client-side head updates (not just title) without a full reload.
|
Command use-head is the runnable e2e fixture for head.UseHead: it applies a Document's title and head tags (description, canonical, OpenGraph) to the live document on mount, and changes them when a button switches the logical page — exercised by the playwright e2e to prove client-side head updates (not just title) without a full reload. |
|
assets/code/use-id
command
|
|
|
assets/code/use-inspect
command
|
|
|
assets/code/use-lazy-node
command
|
|
|
assets/code/use-navigate
command
|
|
|
assets/code/use-previous
command
|
|
|
assets/code/use-query
command
|
|
|
assets/code/use-reducer
command
|
|
|
assets/code/use-ref
command
|
|
|
assets/code/use-resource
command
|
|
|
assets/code/use-revalidator
command
|
|
|
assets/code/use-snapshot
command
|
|
|
assets/code/use-state
command
|
|
|
assets/code/use-task
command
|
|
|
assets/code/use-throttled
command
|
|
|
assets/code/virtualized-feed
command
|
|
|
assets/code/web-components
command
|
|
|
assets/code/worker-text-index
command
|
|
|
server
|
|
|
ai-chat-wizard/client
command
|
|
|
ai-chat-wizard/client/cachecore
Package cachecore provides reusable client-side cache and outbox mechanics.
|
Package cachecore provides reusable client-side cache and outbox mechanics. |
|
ai-chat-wizard/client/catalog
Package catalog provides the WASM-side emergency fallback localization bundle.
|
Package catalog provides the WASM-side emergency fallback localization bundle. |
|
ai-chat-wizard/cmd/build-client
command
|
|
|
ai-chat-wizard/cmd/seed-test-db
command
|
|
|
ai-chat-wizard/cmd/server
command
|
|
|
ai-chat-wizard/server
command
|
|
|
ai-chat-wizard/server/app
auth_rpc.go owns the session bootstrap and auth RPC cluster.
|
auth_rpc.go owns the session bootstrap and auth RPC cluster. |
|
atlas-commerce-os/client
command
|
|
|
atlas-commerce-os/server
command
|
|
|
render-to-string
command
|
|
|
server-side-rendering-bootstrap
command
|
|
|
server-side-rendering-routing
command
|
|
|
static-export-site
command
|
|
|
The GoWebComponents docs site, written entirely in Go as a GWC application.
|
The GoWebComponents docs site, written entirely in Go as a GWC application. |
|
testing
|
|
|
kernel-plugin-devtools
command
|
|
|
parallel-region-basic
command
|
|
|
parallel-region-diagnostics
command
|
|
|
parallel-region-grid
command
|
|
|
render-benchmark
command
|
|
|
runtime2-status
command
|
|
|
runtime2-status/backgroundworker
command
|
|
|
staged-rollout-config
command
|
|
|
use-state-rerender-trace
command
|
Click to show internal directories.
Click to hide internal directories.