felipemenezes098

Flexnative Select

Forms 9

About

A Select dropdown from the Flexnative UI registry with 10 variants: basic, grouped options, disabled, leading icons, object values, description items, disabled items, avatar user-picker, labelled field, and an icon-in-trigger. Built on Radix Select.

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

Code

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

Usage.tsx

'use client'

import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectTrigger,
  SelectValue,
} from '@/components/ui/flexnative-select'
import {
  CircleIcon,
  TriangleAlertIcon,
  CheckCircleIcon,
  XCircleIcon,
  ClockIcon,
} from 'lucide-react'

const items = [
  {
    value: 'none',
    label: 'None',
    icon: CircleIcon,
  },

  {
    value: 'low',
    label: 'Low',
    icon: ClockIcon,
  },
  {
    value: 'medium',
    label: 'Medium',
    icon: TriangleAlertIcon,
  },
  {
    value: 'high',
    label: 'High',
    icon: XCircleIcon,
  },
  {
    value: 'done',
    label: 'Done',
    icon: CheckCircleIcon,
  },
]

export function Select04() {
  return (
    <Select defaultValue="done">
      <SelectTrigger className="w-full max-w-56">
        <SelectValue placeholder="Select a priority" />
      </SelectTrigger>
      <SelectContent>
        <SelectGroup>
          {items.map((item) => (
            <SelectItem key={item.value} value={item.value}>
              <item.icon className="size-3.5" />
              <span>{item.label}</span>
            </SelectItem>
          ))}
        </SelectGroup>
      </SelectContent>
    </Select>
  )
}

export default function Default() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
      <Select04 />
    </div>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    930
  • Editorial Collage Hero

    Editorial Collage Hero

    430
  • Split Hero With Image Cards

    Split Hero With Image Cards

    402
  • Editorial Image Hero

    Editorial Image Hero

    388
  • Scroll 01

    Scroll 01

    341
  • Real Estate Search Hero

    Real Estate Search Hero

    190
  • Editorial Hero

    Editorial Hero

    173
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    123

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    47
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Login Form

    Login Form

    6
  • Form

    Form

    16
  • Book A Demo 3

    Book A Demo 3

    83