Highlight Text From Search Query

Highlight Text From Search Query

Use the http://markjs.io library and an input element to allow users to enter a search query and highlight any matching text in a specified element on the page.

Basic Jquery example: https://jsfiddle.net/julmot/vpav6tL1/

1. Add an attribute to the input field of name="keyword"

2. Add a class of .content to the element it should highlight text within that matches the value entered into the input

Industries

Creators

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
3.16.21

Similar items

Featured
Preview

Collaborate on designs and website review

View item
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Duracell

8.28.25

Muse

8.28.25

Flora

8.28.25

Composio

8.26.25

DONE Prebiotic Protein Drink

8.25.25

Parable

8.25.25

Chronicle

8.24.25

Walrus

8.24.25

Anything

8.24.25

Magic Patterns

8.24.25

Diff

8.20.25

Skarlo

8.17.25

Supaframe

8.17.25

Ledger Brandbook

8.15.25

Mast

3.13.23

Whalesync

1.8.23

Flow My Go Album

8.13.25

Daymark

8.11.25

Bloxspring

8.11.25

Paylater Travel

8.11.25

Jetboost

12.3.19

Fathom Analytics

12.1.22

Bevel

8.7.25

Juno

8.7.25

Audienceful

8.1.22

Jords+Co

8.6.25

Palm UI

8.6.25

Bindery

8.4.25

aeo.press

8.2.25

Cyphr

8.2.25

Reve Image

8.2.25

Outseta

8.13.20

S-2K

7.31.25

Anthem Creative

7.31.25

Slater

6.2.23

Memberstack

12.3.19

Eagle's Nest

7.25.25

Despia

7.25.25

Manifold Bio

7.25.25

Diego

7.22.25

opencode

7.22.25

DreamFlow

7.22.25

FaithTech

7.22.25

Style Find & Replace Webflow App

7.22.25

Lucidly

7.21.25

Streamtime

7.15.25

Truus

7.15.25

Normal

7.15.25

Widehue

7.15.25

The New Webflow Interactions by GSAP is here!

7.11.25

David Kushner

7.10.25

Example

7.10.25
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.