Introducing AlienX extension – The next evolution of UI development.Check it out on VS Code
Enjoy AlienUI React? Give it a star on Github ⭐
A customizable form component for entering text and data.
An input form for entering text in the galaxy.
const Form = () => {
return (
<div className="min-h-screen flex items-center justify-center py-20 px-4">
<div className="w-full max-w-md bg-white p-8 rounded-lg shadow-lg">
<h2 className="text-2xl font-bold text-center text-gray-800 mb-6">
Create an Account
</h2>
<form className="space-y-4">
<div>
<label className="block text-sm font-medium text-gray-700">
FullName <span className="text-red-600">*</span>
</label>
<input
type="text"
placeholder="Enter FullName"
className="w-full p-2 border border-gray-300 rounded mt-1"
required
/>
</div>
<div>
<label className="block text-sm font-medium text-gray-700">
Your Email <span className="text-red-600">*</span>
</label>
<input
type="email"
placeholder="name@example.com"
className="w-full p-2 border border-gray-300 rounded mt-1"
required
/>
</div>
<div>
<label className="block text-sm font-medium text-gray-700">
Password <span className="text-red-600">*</span>
</label>
<input
type="password"
placeholder="Enter Password"
className="w-full p-2 border border-gray-300 rounded mt-1"
required
/>
</div>
<div>
<label className="block text-sm font-medium text-gray-700">
Confirm Password <span className="text-red-600">*</span>
</label>
<input
type="password"
placeholder="Confirm Password"
className="w-full p-2 border border-gray-300 rounded mt-1"
required
/>
</div>
<div></div>
<button
type="submit"
className="w-full bg-black text-white py-2 rounded cursor-pointer"
>
Create Account
</button>
</form>
<p className="mt-6 text-center text-sm text-gray-600">
Already have an account?{" "}
<a
href="/login"
className="text-teal-500 hover:underline font-medium"
>
Login
</a>
</p>
<p className="mt-6 text-center text-xs text-gray-400">
© Copyright 2025
<span className="font-semibold text-gray-600">AlienUI Org.</span>
All Rights Reserved.
</p>
</div>
</div>
);
};
export default Form;
import React from "react";
import Form from "./components/comp/Form/GalaxyForm";
const App = () => {
return (
<div>
<Form />
</div>
);
};
export default App;