Velox ThemesVelox Themes
BETA
Velox ThemesVelox ThemesBETA
Loading library
Loading component details
Loading component details
Loading component details
Free Glowing Search Bar in CSS & React | Velox Themes
  1. Components
  2. /
  3. Beam Search Bar
Locked

Beam Search Bar

New
Beam Search Bar preview

Recorded preview. Sign in with eligible access to unlock the interactive preview.

Search

Search font

Motion

Make it yours

Subscribe to customize this component.

About

Show a search field whose border lights up with a travelling beam of light while it searches. Visitors press Enter or the arrow button, Escape clears the query, and an empty search gives a small shake.

Customizable options

PropertyWhat it changes
Search font
Font, weight, size and letter spacing of the query, placeholder and Searching label.
Placeholder
Hint text shown while the field is empty.
Searching label
Text that replaces the query while a search runs; it shimmers and is announced to screen readers.
Search time
How long each search runs, in seconds, before the beam stops and the query returns.
Beam count
One streak of light, or two on opposite sides of the border.
Beam coverage
Separated draws streaks that fade out at both ends; Full lights the whole border, with a bright spot travelling around it.
Beam loop
Seconds for the beam to travel once around the border.
Outer glow
Strength of the soft halo outside the border while searching; 0 turns it off and values above 60% brighten it.

When to use it

  • One focused search or prompt field: an AI product hero, a help center or a docs search.
  • A dark page: it is designed for a #121212 background, with a #2a2a2a bar and light text.
  • The moment of searching should feel alive while your own code fetches results.

Avoid it when

  • Suggestions, filters or a results list are needed: it is a single field with no dropdown, and results come from your own code.
  • A light page without restyling: the bar, text and button colors are set for a dark background.
  • A form with several fields or a real submit: it sends nothing by itself and only reports events.

Keep when you customize

  • The beam and the Searching label only while a search runs, and only while the bar is on screen.
Outer glow size
How far the halo spreads, in pixels.
Max width
Maximum width of the bar, in pixels; it shrinks to fit a narrower container.
Corner radius
Corner radius of the bar, in pixels; the beam follows it.
Button
Fill of the button once there is a query and while searching; also the text cursor color.
Button icon
Color of the arrow and Stop icons on the filled button.
Beam start color
First color of the beam gradient.
Beam middle color
Middle color of the beam gradient.
Beam end color
Last color of the beam gradient.
Bar
Fill color of the bar.
Text
Color of the query, also used for the bar border, focus outlines and the shimmer highlight.
Muted text
Color of the lens and clear icons and the Searching label; the placeholder and the idle button are mixed from it.
  • Enter, the arrow button, Stop, the clear button and Escape, with the button renamed Stop while searching.
  • The search landmark, the polite announcement of the Searching label and the still beam under reduced motion.
  • More components

    See AllSee AllSee All
    Number Counter preview
    Free
    Number Counter
    Glow Button preview
    Locked
    Glow Button
    Liquid Multi-Select Dropdown preview
    Locked
    Liquid Multi-Select Dropdown