Launch sale — 60% off Pro
ContactSign in
Dialog

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

Unlock this blockGet Pro at 60% off

React Dialog Block Search Replace

Search and replace dialog with find input, replace input, match options, occurrence count, and replace all functionality

Looking to implement shadcn/ui blocks?

Join our Discord community for help from other developers.


Find and replace text efficiently with powerful options. This React search and replace dialog provides separate search and replace input fields, match options including case sensitivity and whole word matching, live occurrence count display, and replace one or replace all functionality. Built with shadcn/ui Dialog, Input, Button, Checkbox, Badge, and Label components using Tailwind CSS, users perform text replacements with precision and confidence. Enter search term, configure options, replace matches—perfect for text editors, code editors, CMS platforms, or any Next.js application where users need to find and replace content across documents or code files.

Installation

Pro block — Sign in to install
Sign in

Questions you might have