Installation
Examples
With results
Type to search, clear to reset.
Veloria UI v0.2.0
Changelog · 2 days ago
Veloria components
Documentation
veloria-ui package
npm · 11.2k weekly downloads
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled value. |
| onChange | (v: string) => void | — | Called on input change. |
| onSearch | (v: string) => void | — | Called on Enter or debounce timeout. |
| loading | boolean | false | Shows a spinner inside the input. |
| debounce | number | 300 | Debounce delay in ms. |
| placeholder | string | 'Search...' | Placeholder text. |