[@svelte-put][docs]

October 18, 2023 ยท View on GitHub

@svelte-put

MIT MadeWithSvelte.com

Useful svelte stuff to put in your projects

svelte-put

Documentation

See the dedicated documentation page here.

Packages

@svelte-put includes several packages that have self-managed release cycles, listed below. Check out their corresponding README for more details.

PackageShort DescriptionVersionChangelogDocs
@svelte-put/avatarcomponent & utilities for avatarnpm.avatar.badgeChangelogdocs.badge
@svelte-put/clickoutsideevent for clicking outside nodenpm.clickoutside.badgeChangelogdocs.badge
@svelte-put/copycopy text to clipboardnpm.copy.badgeChangelogdocs.badge
@svelte-put/dragscrolladd drag-to-scroll behaviornpm.dragscroll.badgeChangelogdocs.badge
@svelte-put/intersectwrapper for IntersectionObservernpm.intersect.badgeChangelogdocs.badge
@svelte-put/inline-svgdynamically inline SVGsnpm.inline-svg.badgeChangelogdocs.badge
@svelte-put/lockscrolllock scroll, hide scrollbarnpm.lockscroll.badgeChangelogdocs.badge
@svelte-put/modaltype-safe async modal buildernpm.modal.badgeChangelogdocs.badge
@svelte-put/movablemove node on mousedownnpm.movable.badgeChangelogdocs.badge
@svelte-put/notitype-safe & headless async notification buildernpm.noti.badgeChangelogdocs.badge
@svelte-put/preprocess-auto-slugauto add id and anchor to selected nodesnpm.preprocess-auto-slug.badgeChangelogdocs.badge
@svelte-put/preprocess-inline-svginline static SVGs at build timenpm.preprocess-inline-svg.badgeChangelogdocs.badge
@svelte-put/qrrender QR as img or svgnpm.qr.badgeChangelogdocs.badge
@svelte-put/resizewrapper for ResizeObservernpm.resize.badgeChangelogdocs.badge
@svelte-put/shortcutadd keyboard shortcuts to nodenpm.shortcut.badgeChangelogdocs.badge
@svelte-put/tocaction & utilities for building table of contentsnpm.toc.badgeChangelogdocs.badge
@svelte-put/tooltiptype-safe headless tooltip buildernpm.tooltip.badgeChangelogdocs.badge

In the Pipeline

These are some packages that will be added in the future (as soon as I find time, and the implementation has matured & become generic enough).

PackageCategoryShort DescriptionStatusDocs
@svelte-put/selectcomponentminimal & extensible selectprototypingcoming soon

Names for those packages may change.

Contributing

Read Contribution Guide

This project is a monorepo using turborepo under the hood. Familiarity with turborepo is not required but encouraged.

For a quick start, run the script below at project root to see what commands are available.

pnpm turbo