Brutalist Select
Rounded, flat-by-default Select over Base Select
Select keeps Base value-class presentation parts and selection semantics under a Neo-Brutalist surface language.
Trigger appearance
Section titled “Trigger appearance”The default Trigger follows the upstream Select: a flat 5px-rounded, 2px black frame with DM Sans 500. appearance="elevated" is an explicit Proto UI extension for a Trigger grouped with raised commands, such as the Header Runtime and Style controls. Its hard black shadow is 4px right/down at rest; hover or press moves the Trigger 4px right/down and removes that shadow. Press does not add another offset.
Set the prop on brutalist-select-trigger, not Root or Content. appearance="flat", omission, or removing the prop restores the flat default. size="sm" | "default", the paired fill/ink, focus ring, keyboard selection and disabled behavior are unchanged. Content stays flat in either appearance. Page CSS must not add a replacement shadow.
Select is workspace source. There is no public proto-ui add target. Passing open or value selects controlled mode for that fact.
| Prop | Type | Default |
|---|---|---|
defaultOpen | boolean | false |
defaultValue | string | '' |
disabled | boolean | false |
readOnly | boolean | false |
closeOnSelect | boolean | true |
size | 'sm' 'default' | default |
appearance | 'flat' 'elevated' | flat |
The first five props belong to Root. size and appearance belong to Trigger, which also defaults accessibleLabel to ''. Value defaults placeholder to ''. Content accepts the Transition props and defaults position to popper, side to bottom, align to center, sideOffset to 4, alignOffset to 0, avoidCollisions to true and collisionPadding to 10. Item defaults disabled to false and value and textValue to ''; closeOnSelect has no default and falls back to the Root policy. Group, Label, Surface, ItemText, Viewport and Separator have no props.