sh4dcnv2 · atlas
← libraries

@ncdai

ncdai is the personal shadcn/ui registry embedded in Chanh Dai's developer portfolio site (chanhdai.com), built with Next.js 16 and Tailwind CSS v4. The registry exposes pixel-perfect, uniquely crafted components and pages documented with live previews, code snippets, and one-click install commands (pnpm/npm/yarn/bun). The portfolio itself demonstrates the registry's quality: light/dark themes, vCard integration, PWA support, PostHog/OpenPanel analytics, and MDX-powered content. MIT licensed — code is free to use after removing personal information. Use for: borrowing high-craft, design-engineer-level shadcn components that show attention to pixel-perfect detail and Tailwind v4 patterns.

60 components react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://chanhdai.com/r/registry.json
pnpm pnpm dlx shadcn@latest add https://chanhdai.com/r/registry.json
bun bunx shadcn@latest add https://chanhdai.com/r/registry.json
fetch registry curl -s https://chanhdai.com/r/registry.json

Components

60 total
Haptic Feedback lib

Trigger haptic feedback on mobile devices.

npx shadcn@latest add https://chanhdai.com/r/haptic.json
useSound hook

Hook for playing sound effects with volume, playback rate, and interrupt controls.

npx shadcn@latest add https://chanhdai.com/r/use-sound.json
useControllableState hook
npx shadcn@latest add https://chanhdai.com/r/use-controllable-state.json
Theme Switcher component

Toggle between system, light, and dark themes in Next.js apps.

npx shadcn@latest add https://chanhdai.com/r/theme-switcher.json
Text Flip component

Animated text that cycles through items with a smooth flip transition.

npx shadcn@latest add https://chanhdai.com/r/text-flip.json
Apple Hello Effect component

SVG writing animation inspired by Apple’s Hello screen.

npx shadcn@latest add https://chanhdai.com/r/apple-hello-effect.json
Apple Hello Effect - Hindi component

SVG writing animation inspired by Apple’s Hello screen.

npx shadcn@latest add https://chanhdai.com/r/apple-hello-effect-hindi.json
Apple Hello Effect - Spanish component

SVG writing animation inspired by Apple’s Hello screen.

npx shadcn@latest add https://chanhdai.com/r/apple-hello-effect-spanish.json
Apple Hello Effect - Vietnamese component

SVG writing animation inspired by Apple’s Hello screen.

npx shadcn@latest add https://chanhdai.com/r/apple-hello-effect-vietnamese.json
Wheel Picker component

iOS-like wheel picker for React with smooth inertia scrolling and infinite loop support.

npx shadcn@latest add https://chanhdai.com/r/wheel-picker.json
chevrons-up-down-icon component

Animated chevrons icon that morphs between up and down directions.

npx shadcn@latest add https://chanhdai.com/r/chevrons-up-down-icon.json
Typography component

Custom prose styles for headings, links, inline code, and emphasis.

npx shadcn@latest add https://chanhdai.com/r/typography.json
Work Experience component

Display work experiences with role details, company logos, and durations.

npx shadcn@latest add https://chanhdai.com/r/work-experience.json
Shimmering Text component

Smooth, light-sweeping shimmer animation for text.

npx shadcn@latest add https://chanhdai.com/r/shimmering-text.json
Slide to Unlock component

Interactive slider inspired by the classic iPhone “slide to unlock” gesture.

npx shadcn@latest add https://chanhdai.com/r/slide-to-unlock.json
Testimonials Marquee component

Scrolling marquee to showcase user testimonials.

npx shadcn@latest add https://chanhdai.com/r/testimonials-marquee.json
Testimonial component

Display user feedback with author info, avatar, and verified badge.

npx shadcn@latest add https://chanhdai.com/r/testimonial.json
GitHub Stars component

Display GitHub repo star count with formatted numbers and full-count tooltip.

npx shadcn@latest add https://chanhdai.com/r/github-stars.json
Scroll Fade Effect component

Fade content edges as you scroll, for both vertical and horizontal layouts.

npx shadcn@latest add https://chanhdai.com/r/scroll-fade-effect.json
Consent Manager component

Cookie and tracking consent banner for Next.js, built on c15t.

npx shadcn@latest add https://chanhdai.com/r/consent-manager.json
Copy Button component

Copy text to clipboard with visual, haptic, and audio feedback.

npx shadcn@latest add https://chanhdai.com/r/copy-button.json
Code Block Command component

Display install commands with package manager switcher and copy button.

npx shadcn@latest add https://chanhdai.com/r/code-block-command.json
Testimonial Spotlight component

Testimonial card with spotlight effect on hover.

npx shadcn@latest add https://chanhdai.com/r/testimonial-spotlight.json
Glow Card Grid component

Display cards with glowing border and background effects.

npx shadcn@latest add https://chanhdai.com/r/glow-card-grid.json
Middle Truncation component

Truncate text in the middle while preserving start and end.

npx shadcn@latest add https://chanhdai.com/r/middle-truncation.json
Twemoji component

Render Unicode emoji as Twemoji SVG images inline with text.

npx shadcn@latest add https://chanhdai.com/r/twemoji.json
Elastic Slider component

Slider with elastic rubber-band drag and magnetic snap feedback.

npx shadcn@latest add https://chanhdai.com/r/elastic-slider.json
Contribution Graph component

A GitHub-style contribution graph component that displays activity levels over time.

npx shadcn@latest add https://chanhdai.com/r/contribution-graph.json
GitHub Contributions component

Visualize year-long GitHub contribution activity with daily counts, tooltips, and a profile link.

npx shadcn@latest add https://chanhdai.com/r/github-contributions.json
TOC Minimap component

Navigate page sections with a compact, hoverable TOC minimap.

npx shadcn@latest add https://chanhdai.com/r/toc-minimap.json
Fluid Gradient Text component

Render text with a fluid gradient that shifts with pointer movement.

npx shadcn@latest add https://chanhdai.com/r/fluid-gradient-text.json
Brand Assets Menu component

Context menu for copying brand SVGs and opening asset links.

npx shadcn@latest add https://chanhdai.com/r/brand-assets-menu.json
Icon Swap component

Animate icon swaps with scale, blur, and fade transitions.

npx shadcn@latest add https://chanhdai.com/r/icon-swap.json
Dot Grid Spotlight component

Interactive dot grid with a cursor-tracking spotlight effect.

npx shadcn@latest add https://chanhdai.com/r/dot-grid-spotlight.json
Spinning Circular Text component

Text arranged in a circle with a continuous spinning animation.

npx shadcn@latest add https://chanhdai.com/r/spinning-circular-text.json
Mobius Loop Icon component

Animated Mobius loop icon that morphs between circles and infinity shape.

npx shadcn@latest add https://chanhdai.com/r/mobius-loop-icon.json
Logos Carousel component

Cycle through logos column by column in a staggered wave.

npx shadcn@latest add https://chanhdai.com/r/logos-carousel.json
Testimonial 2 component

Display a testimonial quote with author attribution and source link.

npx shadcn@latest add https://chanhdai.com/r/testimonial-2.json
Line Nav component

Vertical navigation with a line marker that expands on hover and active state.

npx shadcn@latest add https://chanhdai.com/r/line-nav.json
Share Menu component

Share menu to copy a link or post to X, LinkedIn, and the native share sheet.

npx shadcn@latest add https://chanhdai.com/r/share-menu.json
Spotlight Logo component

SVG logo with a cursor-tracking gradient highlight and tactile press.

npx shadcn@latest add https://chanhdai.com/r/spotlight-logo.json
Login 01 block

A simple login form.

npx shadcn@latest add https://chanhdai.com/r/login-01.json
Hero 01 block

A hero section with a golden spiral background.

npx shadcn@latest add https://chanhdai.com/r/hero-01.json
Blog 01 block

A blog section with a grid layout.

npx shadcn@latest add https://chanhdai.com/r/blog-01.json
Blog 02 block

A blog section with a lined grid layout.

npx shadcn@latest add https://chanhdai.com/r/blog-02.json
Testimonials 01 block

A testimonials section with dual marquees.

npx shadcn@latest add https://chanhdai.com/r/testimonials-01.json
Testimonials 02 block

A testimonials section with a lined layout.

npx shadcn@latest add https://chanhdai.com/r/testimonials-02.json
Experience 01 block

A work experience section with a lined layout.

npx shadcn@latest add https://chanhdai.com/r/experience-01.json
Team 01 block

A team section with glowing cards.

npx shadcn@latest add https://chanhdai.com/r/team-01.json
Metrics 01 block

A metrics section with a line chart.

npx shadcn@latest add https://chanhdai.com/r/metrics-01.json
Social Links 01 block

A social links section with a lined grid layout.

npx shadcn@latest add https://chanhdai.com/r/social-links-01.json
Social Proof 01 block

A social proof section with a logos carousel.

npx shadcn@latest add https://chanhdai.com/r/social-proof-01.json
style style
npx shadcn@latest add https://chanhdai.com/r/style.json
theme-toggle-effect-triangle style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-triangle.json
theme-toggle-effect-triangle-blur style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-triangle-blur.json
theme-toggle-effect-circle style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-circle.json
theme-toggle-effect-circle-blur style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-circle-blur.json
theme-toggle-effect-circle-blur-top-left style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-circle-blur-top-left.json
theme-toggle-effect-polygon style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-polygon.json
theme-toggle-effect-polygon-gradient style
npx shadcn@latest add https://chanhdai.com/r/theme-toggle-effect-polygon-gradient.json