LibraryDetail #
LibraryDetail renders the full metadata for a library and its repo, including
its module and declaration index. See the Library for how to construct one from vite_plugin_pkg_json and virtual:svelte-docinfo:
import LibraryDetail from '@fuzdev/fuz_ui/LibraryDetail.svelte'; <LibraryDetail {library} /> It projects its library prop into library_context for its
subtree, so the module and declaration links resolve against the rendered library even when it differs
from the site's own. When rendering a foreign library, pass links_full so the links point at the library's deployed docs instead of site-local
paths:
<LibraryDetail library={foreign_library} links_full />fuz_ui 🧶
Svelte UI library
friendly user zystem
npm i -D @fuzdev/fuz_ui