sverg Svelte Themes

Sverg

Starter template for Ergo with Svelte 5, Tailwind 4 and svelte-shadcn

Sverg šŸš€

A starter template combining the power of Svelte 5, modern UI components, and seamless Ergo blockchain integration.

Build modern dApps with a light, fast and reliable starter kit.

✨ Features

  • šŸ”„ Svelte 5 Ready - Built with the latest Svelte 5 featuring runes, enhanced reactivity, and improved performance
  • šŸŽØ Shadcn-Svelte UI - Pre-configured with beautiful, accessible UI components built on top of Bits UI
  • šŸ’° Ergo Blockchain Integration - Ready-to-use wallet connection, transaction handling, and blockchain state management
  • šŸŽÆ Tailwind v4 - Modern styling with the latest Tailwind CSS featuring new utilities and improved performance
  • šŸ›”ļø TypeScript First - Full TypeScript support with strict type checking and excellent developer experience
  • ✨ Motion Animations - Smooth, performant animations powered by Motion.dev for modern, engaging user experiences
  • ⚔ Developer Tools - Hot reload, code splitting, optimized builds, and comprehensive development tooling

šŸ› ļø Tech Stack

  • Svelte 5 - The latest and greatest
  • TypeScript - Type safety everywhere
  • Tailwind v4 - Modern CSS framework
  • Shadcn-Svelte - Beautiful UI components
  • Motion.dev - Smooth animations and interactions
  • Fleet SDK - Ergo blockchain integration
  • Lucide Icons - Consistent iconography

šŸš€ Quick Start

# Clone the repository
git clone https://github.com/pehcastro/sverg.git
cd sverg

# Install dependencies
bun install
# or npm install / pnpm install / yarn

# Start development server
bun dev
# or npm run dev

šŸ“¦ Building

# Create production build
bun run build

# Preview production build
bun run preview

šŸ”— Ergo Integration

This template comes with pre-configured Ergo blockchain integration:

  • Wallet Connection - Support for all major Ergo wallets
  • Transaction Handling - Send ERG and tokens with ease
  • State Management - Reactive wallet and blockchain state
  • Type Safety - Full TypeScript support for all Ergo operations

šŸ“ Project Structure

src/
ā”œā”€ā”€ lib/
│   ā”œā”€ā”€ components/       # Reusable components
│   │   ā”œā”€ā”€ ui/          # Shadcn-Svelte UI components
│   │   └── blockchain/  # Ergo-specific components
│   ā”œā”€ā”€ providers/       # Context providers (Ergo wallet, etc.)
│   ā”œā”€ā”€ utils/          # Utility functions
│   └── hooks/          # Custom hooks
ā”œā”€ā”€ routes/             # SvelteKit routes
└── app.html           # App template

šŸŽÆ What's Included

  • Pre-configured wallet selector with auto-reconnection
  • ERG formatting utilities with precise conversions
  • Responsive design with mobile-first approach
  • Dark/light theme support
  • Production-ready build configuration
  • Comprehensive test page for blockchain functions

šŸ’” Contributing

Feel free to open issues and pull requests. This is a community-driven template for the Ergo ecosystem.


Built with ā¤ļø by nkz for the Ergo ecosystem.

Top categories

Loading Svelte Themes