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

    968
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Split Hero With Image Cards

    Split Hero With Image Cards

    412
  • Editorial Image Hero

    Editorial Image Hero

    393
  • Scroll 01

    Scroll 01

    363
  • Real Estate Search Hero

    Real Estate Search Hero

    197
  • Editorial Hero

    Editorial Hero

    178
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    127

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • SignInPage

    SignInPage

    668