Skip to content
ray·elements
Get startedFoundationsComponentsExtendingChartsraylang

Buttons

Inputs

Navigation

Overlays

Data display

Feedback

Layout

Theme

Buttons

Button Button group Icon button Toggle Toggle group

Inputs

Avatar picker (Profile picture, Photo picker) Checkbox Checkbox group Color picker Combobox (Multi select) Date picker File upload Image crop Input Knob (Rotary, Dial, Potentiometer) Mode input Number input Password input Path input (File path, Folder picker) Radio group Search Segmented control Select Slider (Range, Fader) Switch Tags input (Tag input, Chips input, TagsInput) Textarea

Navigation

Bottom nav Breadcrumbs Document tabs Nav link Pagination Sidebar Stepper Tabs

Overlays

Command palette Dialog (Modal) Drawer Menu Popover Tooltip

Data display

Accordion Attachment Avatar Badge Blockquote Carousel Code Icon Indicator Kbd Meter (Level meter, VU meter, Peak meter) QR code (QR, Barcode, 2D code) Stat Table Timeline

Feedback

Alert Empty state Notification Progress Pulse Ring progress Skeleton Spinner Step dots

Layout

App bar App shell Aspect ratio Card Center Container Grid Group Scroll area Separator Split Stack Status bar

Theme

Theme toggle
Components/Inputs

Search

A search box: icon, clear button, an optional shortcut that focuses it, and a debounced ray-search event. A RayInput, so it has a label and takes part in forms.

Source on GitHub

Filter a list as you type
8 packages
  • webThe Express-style framework: routes, middleware, sessions.
  • netProduction HTTP server and client, TLS, WebSocket.
  • rpcTyped calls between a backend and its clients.
  • dbSQL with migrations: SQLite and Postgres.
  • ray-elementsThis design system: web components with raylang extras.
  • webtestBrowser tests that run in the real webview.
  • jobsBackground jobs and schedules.
  • observeLogs, metrics and traces.

No package matches .

ray-search: once the typing pauses
ray-search fires 200 ms after the last key (debounce); input fires on every key.
  1. Queries appear here.
Variants, sizes and radius
Code

Open the code

API

For AI agents: this API as Markdown, or every component in llms-full.txt.

<ray-search> · RaySearch

Escape clears it (when it has text); Enter fires ray-search at once. JS: clear(), focus().

PropertyAttributeTypeDefaultDescription
valuevaluestringCurrent text.
placeholderplaceholderstringSearch… (text search.placeholder)Placeholder text.
shortcutshortcutstringKeyboard shortcut that focuses it ("mod+k", "/"; mod = ⌘ on macOS, Ctrl elsewhere). Shown as a hint while empty.
debouncedebouncenumber200Milliseconds of quiet typing before ray-search fires (0: on every keystroke).
namename reflectsstringForm field name.
labellabelstringVisible label (also the accessible name). Without it, use aria-label.
disableddisabledbooleanNot editable nor submitted.
sizesize reflectsxs | sm | md | lg | xlsmHeight and font size.
radiusradiusxs | sm | md | lg | xl | fullCorner radius.
variantvariant reflectsdefault | filled | unstyledfilledBox style.
EventDescription
inputOn every edit (value already updated).
ray-searchAfter `debounce` ms without typing, on Enter, and when cleared.
PartDescription
inputThe inner <input type=search>.
iconThe search icon.
clearThe clear button.
shortcutThe shortcut hint.
wrapperThe box.

Texts

What it writes itself, in English; setStrings() translates them (Getting started: Languages).

KeyEnglish
search.placeholderSearch…
search.clearClear search
PreviousRadio groupNextSegmented control
ray·elements — web components for any app, with raylang extras GitHub · npm · Changelog · License For AI agents: llms.txt · llms-full.txt Tokens, docs, tests and wrappers generated by tools/run.sh build