ObsidianUI
MIT licensed, shadcn-compatible registry of animated React components. Source is copied into the project (no runtime package). Public reads need no key or account.
Base: https://www.obsidianui.dev
Workflow
- Pick a component from
references/catalog.md(29 documented effects + 63 UI primitives). If the list may be stale, re-checkGET /r/registry.json(items[].name). Never invent names; a 404 means it does not exist. - Read its docs (props, usage example):
curl -fsS https://www.obsidianui.dev/markdown/docs/{name}.md - Fetch the manifest:
curl -fsS https://www.obsidianui.dev/r/{name}.json. Read everyfiles[].content,files[].target,dependencies,docs,meta. - Install, one of:
- shadcn project:
npx shadcn@latest add "https://www.obsidianui.dev/r/{name}.json" - or add to
components.json:"registries": { "@obsidian": "https://www.obsidianui.dev/r/{name}.json" }thennpx shadcn@latest add @obsidian/{name} - manual: write each file to its resolved target, install
dependencieswith the project's package manager.
- shadcn project:
- Resolve targets via the project's
components.jsonaliases:@ui/→aliases.ui,@components/→aliases.components,@lib/→aliases.lib,@hooks/→aliases.hooks. Example defaults:@ui/button.tsx→src/components/ui/button.tsx,@components/block/hover-img.tsx→src/components/block/hover-img.tsx.public/targets are relative to project root. Never create literal@ui/@componentsfolders. Diff existing files before overwriting. - Preserve
"use client", CSS files/imports, shaders, hooks, local helpers. - Replace demo assets:
meta.remoteAssetslists remote demo images/videos; swap for the user's own.meta.requiredEndpointsmeans the app must implement those endpoints itself. - Verify in the browser with real content, keyboard focus,
prefers-reduced-motion, and mobile viewport. Copying is not testing.
Prerequisites
React + Tailwind project (docs assume Next.js App Router, src/, @/* alias). Most components need a cn helper:
ts// src/lib/utils.ts import { type ClassValue, clsx } from "clsx"; import { twMerge } from "tailwind-merge"; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); }
Common deps: motion clsx tailwind-merge lucide-react. Heavy ones per component: gsap, three, @react-three/fiber, @react-three/drei, lenis, @paper-design/shaders-react.
Other access paths
- Any page as Markdown:
Accept: text/markdownheader, or/markdown/docs/{slug}.md - Index:
/llms.txt; everything in one file:/llms-full.txt(~450 KB, avoid unless needed) - OpenAPI:
/openapi.json - MCP: shadcn MCP (
npx shadcn@latest mcp init) can browse the@obsidianregistry. The repo also has a local stdio resource server (git clone https://gitlab.com/Atharvsinh-codez/ObsidianUI.git && npm ci && npm run registry:build && npm run mcp, resources atobsidian://{name}). No hosted MCP endpoint.
Limits
Component library only: no backend, auth, storage, or hosting. Demo media keeps its own license. Keep MIT notice where required.


