npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

@really-headless/sv-marketing

v1.5.2

Published

> 🚧 Still in active development. > > πŸ§‘β€πŸ’» Need to expose a variable? feel free to submit a PR.

Readme

SV-Marketing

🚧 Still in active development.

πŸ§‘β€πŸ’» Need to expose a variable? feel free to submit a PR.

Build beautiful marketing sites with SvelteKit - A lightweight, customizable component library for static marketing websites.

Features

  • πŸš€ Built for SvelteKit
  • 🎨 Highly customizable through CSS variables
  • πŸ“± Fully responsive components
  • ⚑ Lightweight and fast
  • πŸ”§ Easy to integrate
  • πŸ“ˆ SEO-friendly with the right semantic components and jsonLD

Installation

npm install sv-marketing

Available Components

Content Sections

  • Hero
    • Basic Hero <BasicHero {...props} />
    • Hero with Media <MediaHero {...props} />
  • Text & Media <TextAndMedia {...props} />
  • Features Grid <Features {...props} />
  • Pricing Table <Pricing {...props} />
  • Call-to-Action (CTA) <CallToAction {...props} />
  • Testimonials Grid <Testimonials {...props} />
  • FAQ Accordion <FrequentlyAskedQuestions {...props} /> (with SEO ✨)
  • Brand Showcase List <Brands {...props} />
  • Blog List View <BlogListing {...props} />
  • Blog Post View <BlogPost {...props} />

Navigation & Structure

  • Layout <Layout {...props} />
  • Breadcrumbs <Breadcrumbs {...props} /> (with SEO ✨)
  • Page SEO <PageSeo {...props} /> (with jsonLD ✨)

Compose your own

  • SectionContainer <SectionContainer {...props} />, a wrapper for all sections (using a 12-column grid system)
  • SubSectionContainer <SubSectionContainer {...props} />, a container for organizing content within sections with these props:
    • children: Svelte components to render inside the container
    • gridSize: Sets container width ('full' by default)
    • gapSize: Controls spacing between items ('small' by default)
    • align: Alignment of content ('center' by default)
    • justifyUp: Controls vertical alignment
    • itemsCount: Specifies number of items in the container
  • SectionHeader <SectionHeader {...props} />, a header for each section with these props:
    • title: Title of the section
    • subtitle: Subtitle of the section
    • align: Alignment of content ('center' by default)
    • justifyUp: Controls vertical alignment
    • itemsCount: Specifies number of items in the container

Usage

Components use Svelte's runes mode and can be styled through CSS variables imported to your +layout.svelte file.

CSS Variables

The following CSS variables can be customized:

  • --section-max-width: Sets the maximum width (1200px as fallback) for section containers to ensure consistent layout across different screen sizes.
  • --color-primary: Sets the primary color (#00f as fallback) for buttons and other elements.
  • --color-primary-alternate-text: Sets the text color for buttons and other elements that are styled (#fff as fallback).
  • --color-primary-background: Sets the background color for primary sections (#eee as fallback).
  • --color-secondary-background: Sets the background color for secondary sections (#aaa as fallback).
  • --color-text: Sets the text color (#222 as fallback) for all text elements.

CSS Classes

Each component has specific class names to enable custom styling in your own CSS files. These classes follow a consistent pattern:

Component Classes

  • Section Container Classes

    • .section - Applied to all sections for generic styling
    • Component-specific class (e.g., .text-and-media, .hero, .features) for targeted styling
  • Item Classes

    • Component-specific item class (e.g., .text-and-media-item, .features-item) for styling individual items within a component
    • .sub-section - Applied to sub-section containers within components

Component-Specific Classes

  • Text and Media Component

    • .text-and-media - Main container
    • .text-and-media-item - Individual text/media pairs
    • .text-and-media-media - Media within text/media pairs
  • Hero Components

    • .basic-hero - Basic hero section
    • .media-hero - Hero with media section
  • Features Component

    • .features - Main container
    • .features-item - Individual feature items
    • .feature-media - Media within feature items
  • Testimonials Component

    • .testimonials - Main container
    • .testimonials-item - Individual testimonial
    • .testimonial-media - Avatar/media within testimonials
  • Pricing Component

    • .pricing - Main container
    • .pricing-item - Individual pricing plans
  • FAQ Component

    • .faq - Main container
    • .faq-item - Individual question/answer pairs
  • Call-to-Action Component

    • .cta - Main container
  • Brands Component

    • .brands - Main container
    • .brands-item - Individual brand items
  • Navbar Component

    • .navbar - Main container
    • .desktop-navbar - Desktop navigation
    • .mobile-navbar - Mobile navigation
  • Footer Component

    • .footer - Main container
    • .footer-item - Individual footer sub section

Example Usage

To style all text and media sections:

.text-and-media {
 background-color: #f9f9f9;
}

.text-and-media-item {
 border-left: 3px solid var(--color-primary);
}

TODO

  • Add template CSS for quick start
  • Add demo site
  • Add Markdown support for p tags and blog posts
  • Add much clearer documentation
  • Add Contact Form component (with API Submission)