Pluto Design System
Components

Select

Radix Select. sm/md/lg Trigger, Input-aligned 토큰, Group / Label / Separator 슬롯.

사용

import {
  Select, SelectTrigger, SelectValue, SelectContent,
  SelectItem, SelectGroup, SelectLabel, SelectSeparator,
} from "@fluxloop-ai/pds-ui/components/select";

<Select defaultValue="seoul">
  <SelectTrigger size="sm"><SelectValue placeholder="지역" /></SelectTrigger>
  <SelectContent>
    <SelectItem value="seoul">서울</SelectItem>
    <SelectItem value="busan">부산</SelectItem>
  </SelectContent>
</Select>

Basic

Size

Variant

outlined(기본)는 1px inset border, filled는 무테 + grey fill로 hover/open 시 한 단계 어두워집니다.

Group + Separator

Invalid

Props

SelectTrigger

Prop타입기본설명
sizesm | md | lgsmInput 과 동일한 32/36/44 px
variantoutlined | filledoutlinedoutlined는 1px border, filled는 무테 + grey fill
invalidbooleanfalsearia-invalid + negative border

SelectContent

Prop타입기본설명
positionitem-aligned | popperpopperRadix 표준
sideOffsetnumber4popper 일 때만

Registry 설치

npx shadcn add https://pds.pluto.com/r/select