Skip to main content
Header
Allows users to pick a value from a list of predefined options.
import { IconTwentyStar } from 'twenty-ui/display';

import { Select } from '@/ui/input/components/Select';

export const MyComponent = () => {

  return (
    <Select
      className
      disabled={false}
      label="Select an option"
      options={[
        { value: 'option1', label: 'Option A', Icon: IconTwentyStar },
        { value: 'option2', label: 'Option B', Icon: IconTwentyStar },
      ]}
      value="option1"
    />
  );
};