Select Field
A labeled select with description, popup options, and helper or error text.
Choose the default role for new members.
You can change this later.
Show codeHide code
Installation
import { SelectField } from "@makeplane/propel/components/select-field";Usage
import { SelectField } from "@makeplane/propel/components/select-field";
const ROLES = [
{ label: "Admin", value: "admin" },
{ label: "Member", value: "member" },
{ label: "Guest", value: "guest" },
];
export default function BasicDemo() {
return (
<SelectField
name="role"
label="Member role"
description="Choose the default role for new members."
size="lg"
options={ROLES}
defaultValue="member"
hint="You can change this later."
/>
);
}Examples
Sizes
Size steps the label, helper text, and trigger together. The popup’s option rows stay a fixed size regardless, matching the Figma spec.
Show codeHide code
Ghost
Passing variant="ghost" drops the trigger’s border and fill for a select that sits directly on its parent surface.
Show codeHide code
With icon
icon shows a leading glyph before the value, forwarded to the trigger’s Icon slot.
Show codeHide code
Disabled
Contact an admin to change your plan.
Show codeHide code
Invalid
Passing error marks the field invalid and replaces the helper text with the error message.
A project lead is required before publishing.
Show codeHide code
Controlled
Selected: medium
Show codeHide code
API Reference
SelectField
Ready-to-use select field with label, trigger, popup options, and helper/error text.