Crandore Hub

shinySearchbar

Shiny Searchbar - An Input Widget for Highlighting Text and More

Add a searchbar widget to your 'Shiny' application. The widget quickly integrates with any existing element containing text to highlight matches. Highlighting is done with the 'JavaScript' library 'mark.js'. The widget includes buttons to cycle through multiple instances of the match and automatically scroll to the matches in an overflow element (or window). The widget also displays the total number of matches and which match is currently being cycled through. The widget is structured as a 'Bootstrap 3' input group.

README

# mark.js

#### :sparkles: formerly known as jquery.mark or jmHighlight :sparkles:

##### Highlight keywords using JavaScript. Intended for every use case. <br> Can e.g. be used to mark text in search results.

[![Build Status][build-status-image]][build-status]
[![Code quality][code-quality-image]][code-quality]
[![npm Version][npm-version-image]][npm-version]
[![Bower Version][bower-version-image]][bower-version]
[![License][license-image]][license]
[![jsDelivr Hits][jsdelivr-image]][jsdelivr]
[![Greenkeeper][greenkeeper-image]][greenkeeper]  
<a href="https://saucelabs.com/u/markjs">
  <img src="https://saucelabs.com/browser-matrix/markjs.svg" alt="Sauce Test Status" width="741" />
</a>

## Documentation and Further Information

**Please view the [website][website] for documentation and further information!**

## Contributing

See the [contribution guidelines][contributing].

## Changelog
Changes are documented in [release][releases] descriptions.  
You want to be notified about new releases? Click the "Subscribe to releases"
button on [libraries.io][libraries].

---

Happy hacking!

[build-status]: https://travis-ci.org/julmot/mark.js
[code-quality]: https://www.codacy.com/app/julmot/mark.js
[npm-version]: https://www.npmjs.com/package/mark.js
[bower-version]: https://github.com/julmot/mark.js
[license]: https://raw.githubusercontent.com/julmot/mark.js/master/LICENSE
[jsdelivr]: https://www.jsdelivr.com/package/npm/mark.js
[greenkeeper]: https://github.com/julmot/mark.js

[build-status-image]: https://img.shields.io/travis/julmot/mark.js/master.svg?label=test
[code-quality-image]:https://img.shields.io/codacy/27a3ed45370f41e89b02073b214c18a7.svg
[npm-version-image]: https://img.shields.io/npm/v/mark.js.svg
[bower-version-image]: https://img.shields.io/bower/v/mark.js.svg
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg
[jsdelivr-image]: https://data.jsdelivr.com/v1/package/npm/mark.js/badge?style=rounded
[greenkeeper-image]: https://badges.greenkeeper.io/julmot/mark.js.svg

[website]: https://markjs.io/
[contributing]: https://github.com/julmot/mark.js/blob/master/CONTRIBUTING.md
[releases]: https://github.com/julmot/mark.js/releases
[libraries]: https://libraries.io/bower/mark.js/

Versions across snapshots

VersionRepositoryFileSize
1.0.0 rolling linux/jammy R-4.5 shinySearchbar_1.0.0.tar.gz 55.9 KiB
1.0.0 rolling linux/noble R-4.5 shinySearchbar_1.0.0.tar.gz 55.7 KiB
1.0.0 rolling source/ R- shinySearchbar_1.0.0.tar.gz 2.3 MiB
1.0.0 latest linux/jammy R-4.5 shinySearchbar_1.0.0.tar.gz 55.9 KiB
1.0.0 latest linux/noble R-4.5 shinySearchbar_1.0.0.tar.gz 55.7 KiB
1.0.0 latest source/ R- shinySearchbar_1.0.0.tar.gz 2.3 MiB
1.0.0 2026-04-26 source/ R- shinySearchbar_1.0.0.tar.gz 2.3 MiB
1.0.0 2026-04-23 source/ R- shinySearchbar_1.0.0.tar.gz 2.3 MiB
1.0.0 2026-04-09 windows/windows R-4.5 shinySearchbar_1.0.0.zip 67.1 KiB
1.0.0 2025-04-20 source/ R- shinySearchbar_1.0.0.tar.gz 2.3 MiB

Dependencies (latest)

Imports

Suggests