# SigPro Components – Quick Reference All components are exported as named exports from the library. Simple wrapper components accept `(props, children?)` and spread any additional HTML attributes. --- ## Accordion `Accordion(props)` | Prop | Type | Default | Description | |------|----------|------------------------|--------------------------------------| | `items` | array \| signal | `[]` | Items: `{ title?, content?, open?, classTitle?, classContent? }` | | `name` | string | auto‑generated (`"acc-…"`) | Radio group name | | `class` | string | – | Merged with `collapse` | --- ## Alert `Alert(props, children)` | Prop | Type | Default | Description | |------|--------|---------|------------------------------| | `class` | string | – | Merged with `alert` | --- ## Autocomplete `Autocomplete(props)` | Prop | Type | Default | Description | |---------------|----------------|------------------|--------------------------------------------------| | `items` | array \| signal | `[]` | List of items (string or `{ label, value }`) | | `value` | signal | – | Selected value (two‑way binding) | | `onselect` | function | – | Called when an item is chosen `(item)` | | `placeholder` | string | `"..."` | Input placeholder | | `class` | string | – | Extra classes (passed to inner `Input`) | | `...props` | | | All other props forwarded to the internal `Input`| --- ## Avatar `Avatar(props, children)` | Prop | Type | Default | Description | |------|--------|---------|------------------------------| | `class` | string | – | Merged with `avatar` | --- ## AvatarGroup `AvatarGroup(props, children)` | Prop | Type | Default | Description | |------|--------|---------|-------------------------------------| | `class` | string | – | Merged with `avatar-group -space-x-6` | --- ## Badge `Badge(props, children)` | Prop | Type | Default | Description | |------|--------|---------|------------------------------| | `class` | string | – | Merged with `badge` | --- ## Breadcrumbs `Breadcrumbs(props, children)` | Prop | Type | Default | Description | |------|--------|---------|--------------------------------| | `class` | string | – | Merged with `breadcrumbs` | --- ## Button `Button(props, children)` | Prop | Type | Default | Description | |------------|---------|---------|-------------------------------------------| | `class` | string | – | Merged with `btn` | | `disabled` | boolean | – | Standard disabled attribute | | *any* | | | All other native `