React Docs Search is a lightweight, standalone text search utility that emulates the functionality of "Ctrl+F" in applications like Google Docs.
It features inline text search with match highlighting and navigation capabilities (next/previous).
- Real-Time Search: Search text dynamically as you type
- Match Highlighting: Visually highlight all matching results
- Navigation: Navigate through matches using next/previous controls
- Keyboard Friendly: Seamless keyboard integration (Ctrl+F, Enter, Escape)
- Customizable: Easily adapt styles and behavior to your application
- Lightweight: Built with React, optimized for performance
- React (Vite)
- TailwindCSS
Before getting started, it is required to download & install the following:
- Node.js 14+ (Recommended: Latest LTS version)
It is required to clone or fork this project to get started.
Clone this project by running the following command:
git clone https://github.com/kmdebug/react-doc-search.git
Then change directory:
cd react-doc-search
The application depends on multiple npm packages. To install these dependencies, run npm i
or npm install
.
npm install
To open the application in the browser, it is required to run the following command in the terminal:
npm run dev
The application should open at http://localhost:5173/ in the development mode.
We welcome contributions! To contribute to this project, please follow these steps:
- Fork the repository
# On GitHub, click the "Fork" button on the repository page
- Clone the repository
Clone your forked repository to your local machine:
git clone https://github.com/YOUR_USERNAME/react-doc-search.git
- Create a new branch
Create a new branch for your work (replace BRANCH_NAME with a descriptive name for the branch):
git checkout -b BRANCH_NAME
- Make your modifications
Make the necessary changes or improvements to the project.
- Commit your changes
After making changes, commit them with a clear, concise message:
git add .
git commit -m "Your detailed commit message here"
- Push your changes
Push your changes to your forked repository:
git push origin BRANCH_NAME
- Submit a Pull Request
Submit a Pull Request
For feedback or questions, feel free to reach out:
This project is licensed under the MIT license.
Copyright © 2025, Kaissar Mouelhi