export default function Example() {
return (
<>
<Box
css={{
display: "flex",
width: 500,
rowGap: "$100",
flexDirection: "column",
}}
>
<Select.Root defaultValue="25" success>
<Select.Trigger aria-label="example-2">
<Select.Label>Label/Placeholder</Select.Label>
<Select.Value />
</Select.Trigger>
<Select.Content>
<Select.Item value="25">Value</Select.Item>
<Select.Item value="26">Option 2 value</Select.Item>
<Select.Item value="27">Option 3 value</Select.Item>
<Select.Item value="28">Option 4 value</Select.Item>
<Select.Item value="29">Option 5 value</Select.Item>
<Select.Item value="30">Option 6 value</Select.Item>
</Select.Content>
</Select.Root>
</Box>
</>
);
}
To enter the code editing mode, press Enter. To exit the edit mode, press Escape
You are editing the code. To exit the edit mode, press Escape