pacekit

Motion Select

Forms

About

A dropdown select menu with a spring-animated popup, a shared gliding highlight that follows the hovered/active option, and an animated checkmark on the selected item.

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

Code

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

Usage.tsx

"use client";

import {
  Select,
  SelectContent,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from "@/components/ui/motion-select";

const fruits = [
  { value: "apple", label: "Apple" },
  { value: "banana", label: "Banana" },
  { value: "orange", label: "Orange" },
  { value: "grape", label: "Grape" },
  { value: "watermelon", label: "Watermelon" },
];

export default function MotionSelectDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center">
      <Select items={fruits} defaultValue="apple">
        <SelectTrigger className="w-48">
          <SelectValue placeholder="Select a fruit" />
        </SelectTrigger>
        <SelectContent>
          {fruits.map((fruit) => (
            <SelectItem key={fruit.value} value={fruit.value}>
              {fruit.label}
            </SelectItem>
          ))}
        </SelectContent>
      </Select>
    </div>
  );
}

Dependencies

More by pacekit

View all
  • AI Response Writer

    AI Response Writer

    364
  • Mouse Wave Text

    Mouse Wave Text

    23
  • Bouncing Text

    Bouncing Text

    23
  • Gradient Shadow

    Gradient Shadow

    16
  • Scramble Text

    Scramble Text

    15
  • AI Suggestions

    AI Suggestions

    9
  • Squash Text

    Squash Text

    8
  • AI Model Selector

    AI Model Selector

    3

More in Forms

View all
  • Contact Form

    Contact Form

    30
  • Form

    Form

    7
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    608
  • Book A Demo 1

    Book A Demo 1

    94
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Paper Plane

    Paper Plane

    56
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.9K