sv Svelte Themes

Sv

MDSV - Svelte 5 component library with type-safe components

mdsv (Svelte components by MDRV)

Make your web frontend feel like native app

Overview

Components

  • @mdsv/ratio: Locks a container to specific aspect ratios

Development

Running Tests

# Test a specific package
cd packages/ratio
bun test

# Test all packages
bun test

Building

# Build a specific package
cd packages/ratio
bun run b

# Build all packages
bun run build

Documentation Site

The documentation site is built with SvelteKit and mdsvex.

# Development
cd docs
bun install
bun run dev

# Build for production
cd docs
BASE_PATH=/sv bun run build

# Preview production build
cd docs
bun run preview

The site is automatically deployed to GitHub Pages via GitHub Actions on push to main.

Top categories

Loading Svelte Themes