Introducing AlienX extension – The next evolution of UI development.Check it out on VS Code

Enjoy AlienUI React? Give it a star on Github ⭐

Input

A collection of cosmic-themed input components

Nebulon Input

An input field for entering text in the Nebulon system

Preview

import React from "react";

const Input = () => {
  return (
    <div>
      <input
        className="border border-gray-600 rounded-md p-2"
        placeholder="Nebulon Input..."
      />
    </div>
  );
};

export default Input;

Usage Example

import React from "react";
import Input from "./components/comp/Input/NebulonInput";

const App = () => {
  return (
    <div>
      <Input />
    </div>
  );
};

export default App;

Earth Input

An input field for entering text on the earth surface

Preview

import React from "react";

const Input = () => {
  return (
    <div>
      <input
        className="border-b border-b-gray-600 p-2"
        placeholder="Earth Input..."
      />
    </div>
  );
};

export default Input;

Usage Example

import React from "react";
import Input from "./components/comp/Input/EarthInput";

const App = () => {
  return (
    <div>
      <Input />
    </div>
  );
};

export default App;

Vortex Input

A mesmerizing input field with cosmic vortex animation

Preview

import React, { useState } from "react";
import { GiVortex } from "react-icons/gi";

const Input = () => {
  const [isFocused, setIsFocused] = useState(false);

  return (
    <div className="relative w-72">
      <div
        className={`
          absolute inset-0 bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500
          rounded-lg opacity-20 blur-lg transition-all duration-300
          ${isFocused ? "scale-105 opacity-30" : "scale-100"}
        `}
      />
      
      <div className="relative flex items-center">
        <input
          type="text"
          placeholder="Enter galactic coordinates..."
          className={`
            w-full bg-black/80 text-white px-4 py-2 rounded-lg
            border border-purple-500/30 outline-none
            placeholder-gray-400 transition-all duration-300
            focus:border-purple-500/50 focus:ring-2 focus:ring-purple-500/20
          `}
          onFocus={() => setIsFocused(true)}
          onBlur={() => setIsFocused(false)}
        />
        <GiVortex
          className={`
            absolute right-3 w-5 h-5 transition-all duration-300
            ${isFocused ? "text-purple-400 rotate-180" : "text-gray-400"}
          `}
        />
      </div>
    </div>
  );
};

export default Input;

Usage Example

import React from "react";
import Input from "./components/comp/Input/VortexInput";

const App = () => {
  return (
    <div>
      <Input />
    </div>
  );
};

export default App;