コンポーネント フォーム レトロ/ビンテージフォームコンポーネント

レトロ/ビンテージフォームコンポーネント

80 年代と 90 年代に触発されたレトロ/ビンテージの美学でスタイル設定されたフォーム コンポーネントで、レスポンシブ デザインと Tailwind CSS を使用したダーク テーマのサポートが特徴です。

プレビュー

HTMLコード

<div class="bg-gray-100 dark:bg-gray-800 p-6 rounded-lg shadow-md max-w-md mx-auto">
    <h2 class="text-2xl font-bold text-center text-gray-800 dark:text-gray-200 mb-4">Contact Us</h2>
    <form>
        <div class="mb-4">
            <label class="block text-gray-700 dark:text-gray-300 text-sm font-medium mb-1" for="name">Name</label>
            <input type="text" id="name" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 leading-tight focus:outline-none focus:shadow-outline" placeholder="Enter your name" required />
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 dark:text-gray-300 text-sm font-medium mb-1" for="email">Email</label>
            <input type="email" id="email" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 leading-tight focus:outline-none focus:shadow-outline" placeholder="Enter your email" required />
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 dark:text-gray-300 text-sm font-medium mb-1" for="message">Message</label>
            <textarea id="message" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 leading-tight focus:outline-none focus:shadow-outline" rows="4" placeholder="Your message..." required></textarea>
        </div>
        <div class="mb-4">
            <label class="block text-gray-700 dark:text-gray-300 text-sm font-medium mb-1" for="avatar">Upload Avatar</label>
            <input type="file" id="avatar" class="block w-full text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-700 border border-gray-300 rounded-lg py-2 px-3 focus:border-indigo-500 focus:ring-indigo-500 focus:outline-none" accept="image/*" />
        </div>
        <div class="mb-6">
            <img src="https://picsum.photos/200/300" alt="Random Placeholder" class="rounded-md w-full mb-2" />
        </div>
        <div class="flex items-center justify-between">
            <button type="submit" class="bg-indigo-600 text-white font-bold py-2 px-4 rounded-full hover:bg-indigo-700 focus:outline-none focus:shadow-outline">Submit</button>
        </div>
    </form>
    <p class="text-gray-600 dark:text-gray-400 text-sm text-center mt-4">© 2023 Nostalgic Designs. All rights reserved.</p>
</div>

関連コンポーネント

JobApplicationForm_WatercolorArtistic

水彩画/芸術的なデザインスタイルとグラデーションの虹色の配色を備えた、複雑でレスポンシブな求人応募フォーム。個人情報、経験、教育、ファイルのアップロードに関するセクションが含まれており、ダークモードをサポートしており、求人掲示板やキャリアプラットフォームに適しています。

開ける

フォームコンポーネント

マルチカラーのグラデーション背景とスムーズなトランジションを備えた複雑で応答性の高いフォームコンポーネントで、テクノロジー/SaaSアプリケーションに適しています。ダークモードのサポートとインタラクティブな要素が含まれています。

開ける

ブルータリズムフォームコンポーネント

ソーシャルメディア用のシンプルなブルータリズムスタイルのフォームコンポーネント。グレースケールカラーを使用した高コントラストの生のデザインが特徴で、ダークモードのサポートにより応答性があります。

開ける