StarForge
Form

Select

Rich dropdown select with user avatars, role, status badges, and email display.

Note

All presented components are responsive and compatible with Tailwind CSS. Make sure Tailwind is configured in your project to use them.

User Select with Avatar and Status

A rich dropdown select that displays user profiles inside both the trigger and each option. Each item shows an avatar image, name, role, colored status badge (online/away/busy/offline), and email address. The selected user is rendered in the trigger with the same avatar and role info. Supports controlled and uncontrolled modes with an optional label.

Props Reference

PropTypeDescriptionDefault
formNamestringUnique identifier used for the label htmlForrequired
labelstringLabel text displayed above the select'Users'
valuestringControlled selected value (user ID)undefined
onValueChange(value: string) => voidCallback fired when a user is selectedundefined
existingValuesstringPre-selected user ID when using uncontrolled mode''
classNamestringAdditional CSS classes for the triggerundefined

On this page

Built with ❤️ using React, Next.js, TypeScript, and Tailwind CSS