Skip to content
Projetos

Sobre

Componentes de UI animados e prontos para produção, desenvolvidos da forma que produtos reais precisam.

Desenvolvimento web e de aplicativos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
+2
em 7 dias
+15
em 15 dias
+23
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Componentry

Beautiful, interactive UI components you can copy and paste into your apps.

Crafted with React, Tailwind CSS, and Framer Motion. Open source. Free forever.

Documentation · Components · Report Bug · Request Feature

Vercel OSS Program

License Twitter


Introduction

Componentry is a collection of beautifully designed, interactive UI components built with React and Tailwind CSS. Just run the CLI command, add the component to your project, and start building.

Why Componentry?

  • Copy & Paste - Not a dependency. You own the code.
  • Interactive - Cursor-following effects, 3D transforms, and smooth animations.
  • Customizable - Built with Tailwind CSS. Easy to modify.
  • Accessible foundations - Native controls and component-specific keyboard and motion support. Validate accessibility in your application.
  • Dark Mode - All components support light and dark modes.
  • TypeScript - Fully typed for the best developer experience.

Quick Start

Installation via CLI

The fastest way to add components is using the shadcn CLI:

npx shadcn@latest add @componentry/magnetic-dock

Development

This project uses Turborepo for monorepo management.

Prerequisites

  • Node.js 20+
  • pnpm 10+

Setup

# Clone the repository
git clone https://github.com/harshjdhv/componentry.git
cd componentry

# Install dependencies
pnpm install

# Start development server
pnpm dev

Environment variables

All env vars live in a single root .env file (gitignored). apps/web/next.config.mjs loads it with Next's own env loader, so the web app picks up the same values automatically. No symlink or extra setup is needed.

After cloning, copy the template and fill in what you need:

cp .env.example .env

Nothing here is required to run the app: with no keys, everything degrades gracefully — analytics stays off, registry namespace falls back to @componentry, and the R2 upload scripts just tell you which var is missing.

Variable Used for
R2_* Cloudflare R2 uploads for component preview videos (scripts)
NEXT_PUBLIC_POSTHOG_* PostHog analytics
NEXT_PUBLIC_APP_URL Base URL of the registry
NEXT_PUBLIC_REGISTRY_NAMESPACE Namespace in install commands
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION Search Console meta tag
TURBO_TOKEN, TURBO_TEAM Turborepo remote cache

Project Structure

componentry/
├── apps/
│   └── web/                 # Documentation site (Next.js)
├── packages/
│   ├── ui/                  # Component library
│   ├── eslint-config/       # Shared ESLint configuration
│   └── typescript-config/   # Shared TypeScript configuration
└── turbo.json               # Turborepo configuration

Available Scripts

Command Description
pnpm dev Start development server
pnpm build Build all packages
pnpm lint Run linting
pnpm format Format code with Prettier
pnpm registry:generate Regenerate component and block payloads
pnpm registry:check Check registry freshness, dependencies and docs coverage
pnpm test Run distribution regression tests
pnpm typecheck Typecheck the web and UI workspaces
pnpm test:registry:install Install and typecheck representative payloads in a fresh app

Contributing

We welcome contributions! Whether it's:

  • Reporting a bug
  • Submitting a fix
  • Proposing new features
  • Creating new components

See the component creation guide for source, registry and documentation steps, and the maintenance guide for validation commands.

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-component)
  3. Commit your changes (git commit -m 'Add amazing component')
  4. Push to the branch (git push origin feature/amazing-component)
  5. Open a Pull Request

Component Guidelines

When creating new components:

  • Use TypeScript with proper type definitions
  • Support both light and dark modes
  • Include comprehensive props with sensible defaults
  • Add smooth transitions and animations
  • Write clear documentation with examples
  • Follow existing code style and patterns

Tech Stack

License

MIT License - feel free to use these components in personal and commercial projects.

Third-Party Licenses

Some components use third-party dependencies with separate license terms.

  • image-trail and layered-stack require gsap (GSAP).
  • If you use or redistribute those components, you are responsible for complying with GSAP's license terms.
  • GSAP license: https://gsap.com/licensing/

See LICENSE for more information.

Acknowledgments


Made with care by Harsh Jadhav

Explore projetos relacionados

Carregando…