You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svelte-zoo

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-zoo

Random assortment of Svelte components for doc sites

0.4.19
latest
Source
npmnpm
Version published
Weekly downloads
73
-2.67%
Maintainers
1
Weekly downloads
 
Created
Source

Octocat
 Svelte Zoo

Tests GitHub Pages pre-commit.ci status NPM version

Random assortment of Svelte components for building doc sites.

Live demo

🔨   Installation

npm install --dev svelte-zoo

📙   Usage

More docs to come...

<script>
  import {
    CircleSpinner, // animated rotating circle to indicate content is loading
    CodeExample, // to be used with mdsvexamples, syntax-highlights Svelte code and renders it
    CodeLinks, // link code fences to Svelte REPL, GitHub or StackBlitz for interactive sandboxing
    Confetti, // let confetti emoji rain across the screen to playfully show some event was triggered
    CopyButton, // add to code fences to allow copying its contents
    FileDetails, // use HTML <details> to show/hide file contents
    GitHubCorner, // place an animated GitHub icon linking to your repo in the screen corner
    Icon, // used by the other components to render the occasional icon but can also be imported for outside use
    PrevNext, // links to previous and next posts/pages/items in a list
    RadioButtons, // horizontally arranged group of buttons where selecting one auto-deselects the previous one
    Toggle, // boolean control
    Tooltip, // box to show extra info on hovering any DOM element
  } from 'svelte-zoo'
</script>

Keywords

svelte

FAQs

Package last updated on 10 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts