sayantan-025 / zenblocks
description README.md
ZenBlocks
A high-performance, ownership-based UI component library for modern web applications
🎯 Overview
ZenBlocks is a collection of sophisticated, physics-enabled UI components designed to vary from utility-first primitives to complex, interactive blocks. Unlike traditional npm packages, ZenBlocks leverages the shadcn/ui CLI to distribute code directly into your project, giving you complete ownership and control.
✨ Key Features
- 🔓 Ownership First: Code is scaffolded into your
components/zenblocksdirectory. You own it, you modify it. - 🚀 Zero Runtime Lock-in: Remove or refactor any part of the library without breaking external dependencies.
- ⚡ Modern Stack: Built for Tailwind CSS v4 and React Server Components by default.
- 🎨 Motion Centric: Deep integrations with
framer-motionandgsapfor premium interactions. - 📱 Fully Responsive: All components are designed to work seamlessly across all device sizes.
- 🌗 Theme Support: Built-in dark mode support using
next-themes.
📦 Available Components
ZenBlocks includes 15+ production-ready components:
Navigation & Layout
- Navbar - Responsive navigation with mobile menu and theme switching
- Floating Dock - macOS-style floating dock with smooth animations
- Bento Grid - Modern grid layout system for showcasing features
Interactive Elements
- Animated Button - Button with engaging hover and click animations
- Pressure Test - Interactive pressure-sensitive component
- Modal Dialog - Accessible modal with smooth transitions
- Toast - Notification system with multiple variants
Visual Components
- Image Gallery - GSAP-powered image gallery with smooth scrolling
- Image Trail - Mouse-following image trail effect
- Logo Loop - Infinite scrolling logo carousel
- Orb Field - Three.js-powered 3D particle field
Utilities
- Theme Switcher - Elegant theme toggle component
- Pre Loader - Animated loading screen
- Animated Clock - Real-time animated clock display
- Shuffle - Text shuffling animation effect
🚀 Quick Start
Prerequisites
Ensure your project has:
- React 18+ or Next.js 14+ (App Router recommended)
- Tailwind CSS v4 (or v3 with appropriate config)
- shadcn/ui initialized in your project
Installation
1. Initialize shadcn/ui
ZenBlocks is built on top of shadcn/ui. Ensure it is initialized in your project:
npx shadcn@latest init
2. Initialize Utils
Some ZenBlocks components rely on shared utilities. Run this command once:
npx shadcn@latest add https://zenblocks-three.vercel.app/r/utils.json
3. Install Components
Install components individually using the CLI:
npx shadcn@latest add https://zenblocks-three.vercel.app/r/navbar.json
Replace navbar with any component name from the list above (in kebab-case).
3. Use in Your Project
import Navbar from "@/components/zenblocks/navbar";
export default function Layout() {
return <Navbar />;
}
🛠️ Development
Local Setup
# Clone the repository
git clone https://github.com/sayantan-025/zenblocks.git
cd zenblocks
# Install dependencies
npm install
# Run development server
npm run dev
Open http://localhost:3000 to view the project.
Project Structure
zenblocks/
├── app/ # Next.js app directory
│ ├── (root)/ # Landing page
│ ├── docs/ # Documentation pages
│ └── preview/ # Component preview system
├── components/
│ ├── zenblocks/ # Core component library
│ ├── landing/ # Landing page components
│ └── mdx/ # MDX components for docs
├── content/
│ └── docs/ # Documentation content (MDX)
├── registry/ # Component registry for CLI
└── public/ # Static assets
Available Scripts
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
🎨 Tech Stack
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS v4
- Animations:
- 3D Graphics: Three.js
- UI Components: Radix UI
- Documentation: Fumadocs
- Theme: next-themes
📖 Documentation
Comprehensive documentation is available at zenblocks-three.vercel.app/docs, including:
- Installation guides
- Component API references
- Usage examples
- Customization tips
- Advanced configurations
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📄 License
This project is open source and available under the MIT License.
🙏 Acknowledgments
- Built with shadcn/ui architecture
- Inspired by modern design systems and component libraries
- Powered by the amazing Next.js and React ecosystems
Made with ❤️ by Sayantan
More in Uncategorized

openclaw / openclaw
OpenClaw is an open-source personal AI assistant that runs on your own devices and connects to the communication platforms you already use. It provides a fast, always-available assistant that can respond, listen, speak, and perform tasks across desktop and mobile devices.

obra / superpowers
An agentic skills framework & software development methodology that works.

affaan-m / everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

NousResearch / hermes-agent
The self-improving AI agent built by Nous Research. It's the only agent with a built-in learning loop — it creates skills from experience, improves them during use, nudges itself to persist knowledge, searches its own past conversations, and builds a deepening model of who you are across sessions.