lumesec

Pixel Select

Forms 12

About

A dropdown select menu with a pixel-art highlight that springs between options, type-ahead-by-letter search, and an animated rolling label for the chosen value.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pixel Select to your project and fits it to your theme.

Code

How Pixel Select is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PxSelect } from "@/components/ui/px-select";

export default function PxSelectDemo() {
  return (
    <div className="flex w-full max-w-sm items-center justify-center p-10">
      <PxSelect
        name="model"
        label="Model"
        hint="You can change this per chat"
        defaultValue="medium"
        options={[
          { value: "large", label: "Large", description: "Most capable" },
          { value: "medium", label: "Medium", description: "Balanced" },
          { value: "small", label: "Small", description: "Fastest" },
        ]}
      />
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    91
  • Effort Slider

    Effort Slider

    49
  • Connection Globe

    Connection Globe

    29
  • Date Picker

    Date Picker

    28
  • Region Picker

    Region Picker

    25
  • Rotary Dial

    Rotary Dial

    22
  • Live Visitors Map

    Live Visitors Map

    14
  • Pixel Toaster

    Pixel Toaster

    14

More in Forms

View all
  • Premium Auth

    Premium Auth

    606
  • Contact Form

    Contact Form

    28
  • Book A Demo 1

    Book A Demo 1

    95
  • Contact Card

    Contact Card

    1.1K
  • Form

    Form

    6
  • Login 2

    Login 2

    16
  • Book A Demo 4

    Book A Demo 4

    69
  • Form

    Form

    4