MCPcopy Index your code
hub / github.com/akash3444/shadcn-ui-blocks

github.com/akash3444/shadcn-ui-blocks @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,851 symbols 7,012 edges 1,228 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Shadcn UI Blocks

Website - shadcnui-blocks.com

Shadcn UI Blocks is a curated collection of blocks and examples for Shadcn UI components. This platform is designed to help developers preview and copy ready-made code snippets for various components, saving time and enhancing productivity in their projects.

🚀 Features

  • Component Previews: Quickly preview how each Shadcn UI component looks and functions.
  • Code Snippets: Copy component code snippets effortlessly for use in your own projects.
  • Variety of Components: Explore blocks for buttons, forms, modals, navigation, and more.
  • Developer-Friendly Interface: A clean and intuitive layout for finding the perfect block.

🌐 Website Structure

Landing Page: Showcases the most popular Shadcn UI components with examples and links to detailed pages. Component-Specific Pages: Dedicated pages for individual components, featuring multiple variations and previews.

🛠️ Tech Stack

  • Next.js
  • Tailwind CSS
  • TypeScript
  • Shadcn UI

📖 Usage

  1. Visit the Shadcn UI Blocks website.
  2. Browse through the available blocks and examples.
  3. Preview components and blocks to see how they look in action.
  4. Copy the code snippet directly from the page and paste it into your project.

🤝 Contributing

Contributions are welcome! If you have ideas for new blocks or improvements, feel free to reach out or fork the repository.

💡 Inspiration

Inspired by the simplicity and flexibility of Shadcn UI components, this platform aims to make building user interfaces faster and more accessible.

Extension points exported contracts — how you extend this code

DotPatternProps (Interface)
* DotPattern Component Props * * @param {number} [width=16] - The horizontal spacing between dots * @param {number}
src/components/magicui/dot-pattern.tsx
GlitchTextProps (Interface)
(no doc)
src/registry/blocks/base/not-found-07/components/glitch-text.tsx
BlockFile (Interface)
(no doc)
src/types/blocks.ts
PackageManagerContextType (Interface)
(no doc)
src/providers/package-manager-provider.tsx
Window (Interface)
(no doc)
src/lib/carbon-ad.ts
ComponentDetails (Interface)
(no doc)
src/description/app-sidebar.tsx
Task (Interface)
(no doc)
src/app/roadmap/page.tsx
VersionConfig (Interface)
(no doc)
src/config/versions.ts

Core symbols most depended-on inside this repo

cn
called by 1471
src/lib/utils.ts
capture
called by 20
src/lib/analytics.ts
absoluteUrl
called by 12
src/lib/utils.ts
useBlockContext
called by 11
src/providers/block-provider.tsx
codeToHtml
called by 9
src/lib/shiki.ts
constructMetadata
called by 8
src/lib/metadata.ts
copyToClipboard
called by 6
src/components/customized/button/button-20.tsx
useOGImageContext
called by 6
src/providers/og-image-provider.tsx

Shape

Function 2,745
Interface 105
Enum 1

Languages

TypeScript100%

Modules by API surface

src/components/blocks/category/block-category-grid.tsx40 symbols
src/registry/ui/sidebar.tsx25 symbols
src/registry/bases/radix/ui/sidebar.tsx25 symbols
src/registry/bases/base/ui/sidebar.tsx25 symbols
src/components/ui/sidebar.tsx25 symbols
src/registry/ui/menubar.tsx16 symbols
src/registry/bases/radix/ui/menubar.tsx16 symbols
src/registry/bases/radix/ui/combobox.tsx16 symbols
src/registry/bases/base/ui/menubar.tsx16 symbols
src/registry/bases/base/ui/combobox.tsx16 symbols
src/components/ui/menubar.tsx16 symbols
src/registry/ui/dropdown-menu.tsx15 symbols

For agents

$ claude mcp add shadcn-ui-blocks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page