# SigPro Components – Quick Reference All simple components use the pattern `ComponentName(props, children?)` and accept any additional HTML attributes. ## Accordion `Accordion(props)` | Prop | Type | Default | Description | |------|------|---------|-------------| | `items` | array \| signal | `[]` | Array of items. Each item: `{ title, content?, open? }` or a string. | | `type` | `'radio'` \| `'details'` | `'radio'` | Collapse mode | | `variant` | string | `''` | `'arrow'` or `'plus'` for an icon variant | | `name` | string | auto‑generated | Group name for radio inputs | | `class` | string | - | Extra classes merged with `collapse` | --- ## Alert `Alert(props, children)` | Prop | Type | Default | Description | |------|------|---------|-------------| | `class` | string | - | Extra classes merged with `alert` | --- ## Autocomplete `Autocomplete(props)` | Prop | Type | Default | Description | |------|------|---------|-------------| | `items` | array \| signal | `[]` | Autocomplete items | | `value` | signal | - | Selected value | | `onselect` | function | - | Called when an item is selected | | `placeholder` | string | `'Buscar...'` | Input placeholder | | `class` | string | - | Extra classes | | `...props` | | | All other props are passed to the internal `Input` | --- ## Badge `Badge(props, children)` | Prop | Type | Default | Description | |------|------|---------|-------------| | `class` | string | - | Extra classes merged with `badge` | --- ## Button `Button(props, children)` | Prop | Type | Default | Description | |------|------|---------|-------------| | `class` | string | - | Extra classes merged with `button` | | `disabled` | boolean | - | Standard HTML attribute | | *any* | | | All other standard `