introduction #

fuz_ui is a Svelte UI library with components and helpers for making zippy websites. It's built on fuz_css and provides a documentation system built on svelte-docinfo. It's in early alpha with breaking changes ahead.

Usage
#

npm i -D @fuzdev/fuz_ui

To import the Svelte components:

<script> import Alert from '@fuzdev/fuz_ui/Alert.svelte'; import Card from '@fuzdev/fuz_ui/Card.svelte'; import Dialog from '@fuzdev/fuz_ui/Dialog.svelte'; </script>

See the nav for the available components and other helpers.

mdz is a markdown dialect enhanced with Svelte components, autolinked identifiers, and other integrations. To compile static content at build time instead of parsing at runtime with slower dynamic rendering, use its preprocessor:

// svelte.config.js import {svelte_preprocess_mdz} from '@fuzdev/mdz/svelte_preprocess_mdz.js'; export default { preprocess: [ svelte_preprocess_mdz(), // ...other preprocessors ], };

fuz_ui is part of the Fuz stack. See also the repo.