LibraryDetail.svelte

view source

Declarations
#

LibraryDetail
#

LibraryDetail.svelte view source

accepts children

import LibraryDetail from '@fuzdev/fuz_ui/LibraryDetail.svelte';

Renders library metadata (name, description, links, license) and a module index with file-type coloring. Uses svelte-docinfo's file type predicates for module classification.

library

type Library

links_full?

Link the module/declaration index to the library's own deployed docs (url_api_full) instead of site-local paths. Use when rendering a foreign library on a different site, e.g. an aggregator.

type boolean
optional default false

repo_name?

type Snippet<[repo_name: string]>
optional
snippet parameters
repo_name string

description?

type Snippet<[description: string]>
optional
snippet parameters
description string

tagline?

type Snippet<[description: string]>
optional
snippet parameters
description string

npm_url?

type Snippet<[npm_url: string]>
optional
snippet parameters
npm_url string

homepage_url?

type Snippet<[homepage_url: string]>
optional
snippet parameters
homepage_url string

children?

type Snippet<[library: Library]>
optional
snippet parameters
library Library

external types

OmitStrict<SvelteHTMLElements['div'], 'children'>

see also

Depends on
#