Skip to content

BankkRoll/tweet-to-code

Repository files navigation

Tweet to Code

image

📝 Overview

Tweet to Code is an design-to-code registry that I transform tweet designs i find into ready-to-use, customizable React components. Seamlessly integrate any of these designs into your projects with just a few commands.

✨ Features

  • 🎨 Curated UI component designs from tweet designers
  • 🔧 Fully compatible with shadcn/ui ecosystem
  • 💻 Responsive and accessible components
  • 🌓 Built-in light/dark theme support
  • 🚀 Easy, CLI-based installation

🛠 Technologies

TypeScript React Shadcn/UI Framer Motion Lucide Icons

🚀 Quick Start

We use the exact same installation process and cli from: shadcn/ui

Installation

Install components directly from our registry:

# Generic component installation
npx shadcn@latest add "https://tweet-to-code.vercel.app/r/ui/component-name.json"

# Example: Sherlock Hero Component
npx shadcn@latest add "https://tweet-to-code.vercel.app/r/ui/sherlock-hero.json"

Usage Example

import { SherlockHero } from "@/components/ui/sherlock-hero"

export default function HomePage() {
  return <SherlockHero />
}

🤝 Design Attribution

All designs are attributed to their original creators.

🚨 Disclaimer

If you are a design owner and wish to have a design removed, please:

📄 License

  • Repository: MIT License
  • Design Ownership: Remains with original creators

Built with ❤️ by Bankk

About

Starting a journey picking designs to turn to code from twitter, follow along here. https://x.com/bankkroll_eth

Resources

License

Stars

Watchers

Forks

Languages