MCPcopy Index your code
hub / github.com/ui-layouts/cursify

github.com/ui-layouts/cursify @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
426 symbols 924 edges 120 files 1 documented · 0% 23 cross-repo links updated 3mo ago★ 1,9708 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

# A Starter-Repo like UI-LAYOUT

UI-Layout - Design That Really Makes Sense

Folder Structure

├── .eslintrc.json
├── .example.env
├── .gitignore
├── README.md
├── app
|     ├── (docs-page)
|     |     ├── components
|     |     |     ├── [...slug]
|     |     |     |     ├── page.tsx
|     |     |     ├── page.tsx
|     |     ├── get-started
|     |     |     ├── page.mdx
|     |     ├── layout.tsx
|     ├── favicon.ico
|     ├── globals.css
|     ├── layout.tsx
|     ├── live-components
|     |     ├── [componentName]
|     |     |     ├── error.tsx
|     |     |     ├── loading.tsx
|     |     |     ├── page.tsx
|     ├── page.tsx
├── assets
|     ├── index.ts
|     ├── preview
|     |     ├── buttons.svg
|     |     ├── card.svg
|     |     ├── clip-path.svg
|     |     ├── horizontal-scrolling.svg
|     |     ├── index.tsx
|     |     ├── motion-number.svg
|     ├── preview_bg.png
├── components
|     ├── core
|     |     ├── blur-vignette.tsx
|     |     ├── cursor-follow-text.tsx
|     |     ├── numbersuffle.tsx
|     ├── labs
|     |     ├── preview-tab.tsx
|     ├── website
|     |     ├── code-components
|     |     |     ├── code-block.tsx
|     |     |     ├── component-block.tsx
|     |     |     ├── component-code-preview.tsx
|     |     |     ├── component-preview.tsx
|     |     |     ├── copy-button.tsx
|     |     |     ├── copy-npm-button.tsx
|     |     |     ├── drawer-code-preview.tsx
|     |     |     ├── iframe-component-preview.tsx
|     |     |     ├── iframe-tab-codepreview.tsx
|     |     |     ├── pagination.tsx
|     |     |     ├── pre-code.tsx
|     |     |     ├── pre-coded.tsx
|     |     |     ├── tab-codepreview.tsx
|     |     ├── constant.tsx
|     |     ├── dropdown-menu.tsx
|     |     ├── header.tsx
|     |     ├── hero-sec.tsx
|     |     ├── icons
|     |     |     ├── github.tsx
|     |     |     ├── x.tsx
|     |     ├── searchbar.tsx
|     |     ├── sidebar.tsx
|     |     ├── tableof-compoents.tsx
|     |     ├── theme-provider.tsx
|     |     ├── theme-switch.tsx
|     |     ├── ui
|     |     |     ├── button.tsx
|     |     |     ├── dialog.tsx
|     |     |     ├── drawer.tsx
|     |     |     ├── dropdown.tsx
|     |     |     ├── navigation-menu.tsx
|     |     |     ├── scroll-area.tsx
|     |     |     ├── tabs.tsx
├── configs
|     ├── docs.json
|     ├── docs.ts
├── content
|     ├── components
|     |     ├── blur-vignette.mdx
|     |     ├── buttons.mdx
|     |     ├── clip-path.mdx
|     |     ├── footers.mdx
|     |     ├── horizontal-scroll.mdx
|     |     ├── motion-number.mdx
|     |     ├── product-cards.mdx
├── hooks
|     ├── use-media-query.tsx
|     ├── useClickOutside.tsx
|     ├── useClipBoarard.tsx
|     ├── useZustStore.tsx
├── lib
|     ├── code.ts
|     ├── docs.tsx
|     ├── progressbar.tsx
|     ├── toc.ts
|     ├── utils.ts
├── mdx-components.tsx
├── next.config.mjs
├── package.json
├── pnpm-lock.yaml
├── postcss.config.mjs
├── prettier.config.js
├── public
|     ├── og.jpg
├── registry
|     ├── components
|     |     ├── blurvignette
|     |     |     ├── blurvignettecard.tsx
|     |     |     ├── blurvignetteimg.tsx
|     |     |     ├── blurvignettevideo.tsx
|     |     ├── button
|     |     |     ├── btn-bg-shine.tsx
|     |     |     ├── btn-bg-spotlight.tsx
|     |     |     ├── btn-hover-active.tsx
|     |     |     ├── btn-hover1.tsx
|     |     |     ├── btn-hover2.tsx
|     |     |     ├── creative-btn1.tsx
|     |     |     ├── creative-btn2.tsx
|     |     ├── card
|     |     |     ├── product-card1.tsx
|     |     |     ├── product-card2.tsx
|     |     ├── clip-path
|     |     |     ├── clip-path-creative.tsx
|     |     ├── footers
|     |     |     ├── footer1.tsx
|     |     |     ├── hover-footer.tsx
|     |     ├── scroll-animation
|     |     |     ├── framer-horizontal-scroll.tsx
├── tailwind.config.ts
├── tsconfig.json

Installation

You must install tailwindcss. As most of our components use motion install it too.

npm install motion clsx tailwind-merge

Must Add it in the utils.ts:

```tsx title="utils.tsx" import { type ClassValue, clsx } from 'clsx'; import { twMerge } from 'tailwind-merge';

export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); }


use this hooks for mediaQueries:

```tsx title="use-media-query.tsx"
import { useEffect, useState } from 'react';

export function useMediaQuery(query: string) {
  const [value, setValue] = useState(false);

  useEffect(() => {
    function onChange(event: MediaQueryListEvent) {
      setValue(event.matches);
    }

    const result = matchMedia(query);
    result.addEventListener('change', onChange);
    setValue(result.matches);

    return () => result.removeEventListener('change', onChange);
  }, [query]);

  return value;
}

👤 Author (Durgesh Bachhav)

Extension points exported contracts — how you extend this code

FairyDustCursorProps (Interface)
(no doc)
registry/components/cursor/fairydust/FairyDustCursor.tsx
Window (Interface)
(no doc)
components/website/carbon-ads.tsx
TableOfContents (Interface)
(no doc)
lib/toc.ts
IRecentPage (Interface)
(no doc)
hooks/useZustStore.tsx
MouseState (Interface)
(no doc)
hooks/use-mouse.ts
Particle (Interface)
(no doc)
registry/components/cursor/fairydust/FairyDustCursor.tsx
ComponentInfo (Interface)
(no doc)
components/website/constant.tsx
RecentPagesState (Interface)
(no doc)
hooks/useZustStore.tsx

Core symbols most depended-on inside this repo

cn
called by 83
lib/utils.ts
resizeCanvas
called by 19
registry/components/cursor/common/swirl-cursor.tsx
compileShader
called by 14
hooks/use-FluidCursor.ts
scaleByPixelRatio
called by 14
hooks/use-FluidCursor.ts
animate
called by 10
registry/components/pattern/black-white-blobs/black-white-blobs.tsx
bind
called by 10
hooks/use-FluidCursor.ts
useMouse
called by 6
hooks/use-mouse.ts
getSupportedFormat
called by 6
hooks/use-FluidCursor.ts

Shape

Function 332
Interface 55
Class 20
Method 19

Languages

TypeScript100%

Modules by API surface

hooks/use-FluidCursor.ts52 symbols
registry/components/cursor/common/springy-cursor.tsx17 symbols
registry/components/cursor/common/character-cursor.tsx16 symbols
registry/components/cursor/common/snowflake-cursor.tsx14 symbols
registry/components/cursor/common/bubble-cursor.tsx14 symbols
registry/components/cursor/neural-glow/neural-glow.tsx12 symbols
registry/components/cursor/common/follow-cursor.tsx12 symbols
registry/components/cursor/common/rainbow-cursor.tsx11 symbols
hooks/use-canvasCursor.ts11 symbols
registry/components/cursor/text-flag/TextFlagCursor.tsx10 symbols
registry/components/cursor/common/trail-cursor.tsx10 symbols
components/website/ui/spotlight.tsx10 symbols

Dependencies from manifests, versioned

@code-hike/mdx0.9.0 · 1×
@headlessui/react2.1.8 · 1×
@mdx-js/loader3.0.1 · 1×
@mdx-js/react3.0.1 · 1×
@motionone/utils10.18.0 · 1×
@next/mdx15.3.1 · 1×
@prisma/client5.19.1 · 1×
@radix-ui/react-aspect-ratio1.1.0 · 1×
@radix-ui/react-dialog1.1.1 · 1×
@radix-ui/react-dropdown-menu2.1.1 · 1×
@radix-ui/react-navigation-menu1.2.1 · 1×
@radix-ui/react-scroll-area1.1.0 · 1×

For agents

$ claude mcp add cursify \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact