Basecoat Ultra is a Tailwind-first UI component library designed for high performance, minimalism, and deep customization. Built upon the excellent foundation of Basecoat by hunvreus, it brings the magic of shadcn/ui to any traditional web stack without requiring React.
π‘ Live Demo & Documentation
Enhanced from the original Basecoat with numerous optimizations and bug fixes:
Comprehensive component library inspired by shadcn/ui, completely framework-independent:
Choose the package that fits your stack:
bun add @lanrenbang/basecoat-ultra
# or npm install @lanrenbang/basecoat-ultra
# CLI approach (recommended)
npx basecoat-ultra-svelte@latest init
npx basecoat-ultra-svelte@latest add button
# Package approach
bun add @lanrenbang/basecoat-ultra-svelte
/* In your CSS file */
@import "tailwindcss";
@import "@lanrenbang/basecoat-ultra";
@import "@lanrenbang/basecoat-ultra/theme/catppuccin"; /* Optional */
// In your JS file
import '@lanrenbang/basecoat-ultra/all';
<!-- CSS -->
<link href="https://cdn.jsdelivr.net/npm/@lanrenbang/basecoat-ultra@latest/dist/css/basecoat.cdn.min.css" rel="stylesheet">
<!-- JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/@lanrenbang/basecoat-ultra@latest/dist/js/all.min.js" defer></script>
For detailed setup instructions, configuration options, and usage examples, visit our comprehensive documentation.
This project uses a Bun workspace monorepo structure:
packages/
βββ ultra/ # Core CSS/JS library (framework-agnostic)
βββ svelte/ # Svelte 5 components with Runes
βββ cli/ # CLI tool for Svelte components
βββ docs/ # Documentation site (SvelteKit)
# Install dependencies
bun install
# Development servers
bun dev:ultra # Core Ultra package
bun dev:svelte # Svelte components
bun dev:docs # Documentation site
# Build packages
bun run build:ultra
bun run build:svelte
bun run build:docs
# CLI tool
bun cli # Run CLI locally
Due to package dependencies: Ultra β Svelte β Docs
This project stands on the shoulders of giants:
This project is licensed under the MIT License. Original Basecoat content copyright belongs to hunvreus.