A
Anonymous

Select Dropdown - Copy this React, Tailwind Component to your project

import-{-Label-}-from-"@/components/ui/label";-import-{-SelectNative-}-from-"@/components/ui/select-native";-export-default-function-SelectDemo()-{-return-(-<div-className="space-y-2">-<Label-htmlFor="select-01">Simple-select-(native)</Label>-<SelectNative-id="select-01">-<option-value="s1">React</option>-<option-value="s2">Next.js</option>-<option-value="s3">Astro</option>-<option-value="s4">Gatsby</option>-</SelectNative>-</div>-);-}

Prompt
Component Preview

About

SelectDropdown - A simple native select component featuring options for React, Next.js, Astro, and Gatsby. Built with React and Tailwind. Access free code!

Share

Last updated 1 month ago