svelte-directory Svelte Themes

Svelte Directory

A curated directory of Svelte libraries.

Svelte Directory Logo

Svelte Directory

License Stars Forks Issues Pull Requests Last Commit

A curated directory of Svelte libraries, components, and tools to enhance your Svelte development experience.

📚 Add Library

The Svelte Directory is a community-driven collection of Svelte libraries and components. We welcome contributions from the community to help grow this resource. To add a new library or component, please follow the steps below:

  1. Create a new issue in the repository with the title "Add: [Library Name]"
  2. Add the GitHub URL to your issue description
  3. Our team will review the submission and add it to the directory

💻 Development

Installation

  1. Clone the repository:
git clone https://github.com/klementine-org/svelte-directory.git
cd svelte-directory
  1. Install Node.js (check the .nvmrc file for the recommended version)
  2. Install pnpm:
corepack enable pnpm
  1. Install dependencies:
# Using pnpm (recommended)
pnpm install

Scripts

  • Start the development server:
pnpm dev
  • Build the project for production:
pnpm build
  • Preview the production build:
pnpm preview
  • Library management:
# Compile library from data/libraries to src/lib/assets/compiled-data (with search index and tags set)
pnpm lib:compile

# Add a new library to data/libraries (with GitHub URL)
pnpm lib:add <github-url>

# Update all libraries in data/libraries with the latest information from GitHub
pnpm lib:update

# Update specific libraries in data/libraries with the latest information from GitHub (separate multiple URLs with spaces)
pnpm lib:update <github-url> [<github-url>]

# Example
pnpm lib:update https://github.com/huntabyte/shadcn-svelte https://github.com/ciscoheat/sveltekit-superforms

👥 Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Commit your changes (git commit -m ':gitmoji: Add some amazing feature')

    Note: Prefix commit messages with :gitmoji:

  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

📄 License

This project is licensed under the MIT License — see the LICENSE file for details.

Top categories

Loading Svelte Themes