Component Wizard v1

Write your component requirements, and I'll give you the code.

Currently HTML and TailwindCSS code is generated.

Created by Berkay

Recent generations
"An <Form> component from shadcn that has an "add car" functionality (form must have brand, model, engine (cm3), power and etc)"
<div class="max-w-md mx-auto p-6 bg-white rounded-lg shadow-md">
    <h2 class="text-2xl font-bold mb-4">Add Car</h2>
    <form action="#" method="POST">
        <div class="mb-4">
            <label class="block text-gray-700 text-sm font-bold mb-2" for="brand">
                Brand
            </label>
            <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="brand" type="text" placeholder="Car Brand" required>
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 text-sm font-bold mb-2" for="model">
                Model
            </label>
            <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="model" type="text" placeholder="Car Model" required>
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 text-sm font-bold mb-2" for="engine">
                Engine (cm³)
            </label>
            <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="engine" type="number" placeholder="Engine Size in cm³" required>
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 text-sm font-bold mb-2" for="power">
                Power (HP)
            </label>
            <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="power" type="number" placeholder="Power in Horsepower" required>
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 text-sm font-bold mb-2" for="year">
                Year
            </label>
            <input class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" id="year" type="number" placeholder="Year of Manufacture" required>
        </div>
        <div class="flex items-center justify-between">
            <button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline" type="submit">
                Add Car
            </button>
        </div>
    </form>
</div>
"pricing section"
<div class="bg-gray-100 py-12">
    <div class="container mx-auto text-center">
        <h2 class="text-3xl font-bold mb-6">Pricing Plans</h2>
        <p class="text-lg mb-12">Choose the plan that suits you best</p>
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <div class="bg-white p-6 rounded-lg shadow-lg">
                <h3 class="text-2xl font-semibold mb-4">Basic Plan</h3>
                <p class="text-gray-600 mb-4">$19/month</p>
                <p class="mb-6">Ideal for individuals who are just getting started.</p>
                <a href="#" class="bg-blue-500 text-white py-2 px-4 rounded">Get Started</a>
            </div>
            <div class="bg-white p-6 rounded-lg shadow-lg">
                <h3 class="text-2xl font-semibold mb-4">Standard Plan</h3>
                <p class="text-gray-600 mb-4">$49/month</p>
                <p class="mb-6">Perfect for small teams looking to grow.</p>
                <a href="#" class="bg-blue-500 text-white py-2 px-4 rounded">Get Started</a>
            </div>
            <div class="bg-white p-6 rounded-lg shadow-lg">
                <h3 class="text-2xl font-semibold mb-4">Premium Plan</h3>
                <p class="text-gray-600 mb-4">$99/month</p>
                <p class="mb-6">Best for large teams requiring advanced features.</p>
                <a href="#" class="bg-blue-500 text-white py-2 px-4 rounded">Get Started</a>
            </div>
        </div>
    </div>
</div>
"button"
<button class="bg-blue-500 text-white font-bold py-2 px-4 rounded hover:bg-blue-700">
  Click Me
</button>