Skip to content

SikandarJODD/cnblocks

Repository files navigation

Svelte Shadcn Blocks

jsrepo jsrepo

A collection of beautifully designed, ready-to-use UI blocks for Svelte 5, built with Tailwind CSS v4 and shadcn-svelte.

image

Overview

Visit to Preview the blocks: Svelte Shadcn Blocks Svelte Shadcn Blocks consists of 2 main variants:

  1. Normal - A vibrant, bold design with a focus on marketing and UI components.
  2. Mist - A clean, minimal design inspired by Notion, perfect for documentation and content-heavy applications.

Each variant include 50+ blocks that can be used in your projects. These blocks are designed to be easily customizable and integrate seamlessly with your Svelte applications.

You can use these blocks to build landing pages, marketing sites, dashboards, and more.

Features

  • 100+ Ready-to-use UI & Marketing Blocks
  • Free & Open Source - Licensed under MIT
  • Fully Responsive – Works seamlessly across all screen sizes
  • Light & Dark Mode Support
  • Easy to Customize – Modify styles and components effortlessly
  • CLI Support – jsrepo CLI for easy installation and updates

Documentation

LLM-friendly documentation is in /static/docs, with normal/ for bold, vibrant blocks and /static/docs/mist for clean, Notion-inspired blocks. Each file provides usage examples and Tailwind styles for AI code generation.

Docs for Mist Variant : Visit

Docs for Normal Variant : Visit

Docs for MCP Server Integration : Visit

Installation & Usage

Visit the installation guide for detailed instructions on how to set up and use Svelte Shadcn Blocks in your project.

Inspiration

This project is inspired from Tailark. The goal is to provide a similar experience for Svelte developers.

Sponsor

If you like this project, please consider supporting me on GitHub Sponsors.

Contributing

Contributions are welcome! 💛 If you have ideas for new blocks, improvements, or bug fixes, please feel free to open an issue or submit a pull request.

If you have any feedback, please reach out to me on Twitter or create an issue on GitHub.

Project Structure

if you want to add new blocks follow the structure below:

---
config:
  layout: dagre
---
flowchart TD
    A["cnblocks repository"] --> B["lib"]
    B --> C["components"]
    C --> Z["ui"] & X["50+ Blocks"] & Y["50+ Mist Blocks"]
    Z --> ZA["Shadcn Svelte"]
    X --> D["UI & Marketing Blocks"]
    Y --> E["Notion Style, Clean Minimal Blocks"]
    A@{ shape: rounded}
    B@{ shape: rounded}
    C@{ shape: rounded}
    Z@{ shape: rounded}
    X@{ shape: rounded}
    Y@{ shape: rounded}
    ZA@{ shape: rounded}
    D@{ shape: rounded}
    E@{ shape: rounded}
    linkStyle 3 stroke:#424242,fill:none
    linkStyle 4 stroke:#424242,fill:none
    linkStyle 7 stroke:#424242,fill:none
Loading

License

Published under the MIT license. Built by @Sikandar Bhide, @Aidan Bleser 💛

About

100+ UI & Marketing blocks using Svelte 5, Tailwind CSS v4 and Shadcn Svelte

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Contributors 4

  •  
  •  
  •  
  •