Documentation
¶
Overview ¶
Package gsxui embeds the component registry the gsxui CLI vendors from. The embedded tree is the single source of truth: the CLI derives the component list, dependencies, and JS presence from it at runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Files embed.FS
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gsxui
command
gsxui installs shadcn-style gsx components into your project by copying their source — you own the code.
|
gsxui installs shadcn-style gsx components into your project by copying their source — you own the code. |
|
stylegen
command
|
|
|
internal
|
|
|
cli
Package cli implements the gsxui command: init, add, list.
|
Package cli implements the gsxui command: init, add, list. |
|
generatedcheck/cmd
command
|
|
|
lucidegen
command
Command lucidegen generates ui/icon/icon_data.go and ui/icon/icon_defs.go from a local checkout of the Lucide icon set (https://github.com/lucide-icons/lucide).
|
Command lucidegen generates ui/icon/icon_data.go and ui/icon/icon_defs.go from a local checkout of the Lucide icon set (https://github.com/lucide-icons/lucide). |
|
recipe
Package recipe models component style recipes: the shape a component declares, and the utilities a style supplies for it.
|
Package recipe models component style recipes: the shape a component declares, and the utilities a style supplies for it. |
|
registry
Package registry derives the vendorable component set from the embedded filesystem — the component list, inter-component dependencies, and behavior-JS presence.
|
Package registry derives the vendorable component set from the embedded filesystem — the component list, inter-component dependencies, and behavior-JS presence. |
|
jstest
|
|
|
harness
command
Command harness serves gsxui's component examples one per page, for the Playwright suite in jstest/.
|
Command harness serves gsxui's component examples one per page, for the Playwright suite in jstest/. |
|
Package merge holds the Tailwind-aware class merger named by gsx.toml's class_merger.
|
Package merge holds the Tailwind-aware class merger named by gsx.toml's class_merger. |
|
registry
|
|
|
canonical
Package canonical holds the structural component sources and the shapes they declare.
|
Package canonical holds the structural component sources and the shapes they declare. |
|
canonical/shapes
Package shapes holds every component's style interface as pure data.
|
Package shapes holds every component's style interface as pure data. |
|
Command site serves the gsxui documentation/showcase site: the component registry rendered as browsable pages, backed by structpages routing and gsx templates, with a Vite-built frontend bundle.
|
Command site serves the gsxui documentation/showcase site: the component registry rendered as browsable pages, backed by structpages routing and gsx templates, with a Vite-built frontend bundle. |
|
examples
Package examples embeds every component's example .gsx source (real, compiled gsx components — see registry.go) and serves that exact source text for display on the component pages.
|
Package examples embeds every component's example .gsx source (real, compiled gsx components — see registry.go) and serves that exact source text for display on the component pages. |
|
hl
Package hl serves syntax-highlighted code blocks for the docs site.
|
Package hl serves syntax-highlighted code blocks for the docs site. |
|
pages
Package pages is the gsxui site's structpages route tree: the landing page today, and (later tasks) the component showcase, docs, and theme editor as sibling route groups.
|
Package pages is the gsxui site's structpages route tree: the landing page today, and (later tasks) the component showcase, docs, and theme editor as sibling route groups. |
|
stylepreview
Package stylepreview holds the theme editor's preview compositions.
|
Package stylepreview holds the theme editor's preview compositions. |
|
icon
Package icon is the Lucide icon set as tag-callable gsx components: <icon.ChevronDown class="size-4"/>.
|
Package icon is the Lucide icon set as tag-callable gsx components: <icon.ChevronDown class="size-4"/>. |
Click to show internal directories.
Click to hide internal directories.