micka_design

Select

Forms 85

About

A fluid select dropdown with proximity hover, animated checkmark, grouped options, and spring transitions. Built with Framer Motion and portal rendering.

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

Code

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

Usage.tsx

"use client";

import { useState } from "react";
import { Select, SelectTrigger, SelectContent, SelectItem } from "../components/ui/select";

export default function SelectDemo() {
  const [value, setValue] = useState("medium");

  return (
    <div className="flex items-center justify-center min-h-screen bg-background">
      <Select value={value} onValueChange={setValue}>
        <SelectTrigger placeholder="Select size…" />
        <SelectContent>
          <SelectItem index={0} value="small">Small</SelectItem>
          <SelectItem index={1} value="medium">Medium</SelectItem>
          <SelectItem index={2} value="large">Large</SelectItem>
          <SelectItem index={3} value="xl">Extra Large</SelectItem>
        </SelectContent>
      </Select>
    </div>
  );
}

Dependencies

More by micka_design

View all
  • Switch

    Switch

    89
  • Checkbox Group

    Checkbox Group

    81
  • Segmented Tabs

    Segmented Tabs

    45
  • Table

    Table

    40
  • Accordion

    Accordion

    38
  • Tabs Subtle

    Tabs Subtle

    25
  • Slider

    Slider

    24
  • Badge

    Badge

    18

More in Forms

View all
  • Authentication Card

    Authentication Card

    51
  • Premium Auth

    Premium Auth

    562
  • Contact Card

    Contact Card

    1.1K
  • Book A Demo 1

    Book A Demo 1

    89
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.8K
  • Form

    Form

    139
  • SignInPage

    SignInPage

    742
  • Card Studio

    Card Studio

    46