Text Formatter App
A React-based web application that allows users to customize text appearance and formatting. Features include theme switching, text-to-speech, and clipboard copy functionality.
⨠Features
- Text Customization
Adjust font size, family, weight, color, alignment, and line height.
- Theme Support
Switch between light, dark, and sepia modes.
- Text-to-Speech
Convert text to speech with adjustable pitch and rate.
- Word & Character Counter
Real-time tracking of text length.
- Clipboard Copy
One-click copy formatted text.
- Responsive Design
Works on all device sizes.
šø Screenshots
š Installation
To install and run the Text Formatter App, follow these steps:
- Clone the repository:
git clone https://github.com/Mohammad-Rahme-576/text-formatter.git
- Navigate to the project folder:
cd text-formatter-app
- Install dependencies:
npm install
- Run the app:
npm run dev
- Open the app in your browser:
Open http://localhost:3000 in your browser.
š„ļø Usage
Entering and Customizing Text
- Enter Text: Type or paste text into the text area.
- Customize: Use the controls to modify:
- Font (size, family, weight)
- Theme (light/dark/sepia)
- Alignment and line height
Additional Features
- Text-to-Speech: Click the š button to hear the text.
- Copy Text: Click the š button to copy to clipboard.
- Reset: Revert to defaults with the "Reset" button.
š§ Technologies
- Frontend: React
- Styling: Tailwind CSS
- Text-to-Speech: Web Speech API
- State Management: React Hooks
š¤ Contributing
Contributions are welcome! To contribute, follow these steps:
- Fork the repository.
- Create a branch:
git checkout -b feature/your-feature
.
- Commit changes:
git commit -m "Add your feature"
.
- Push to the branch:
git push origin feature/your-feature
.
- Open a Pull Request.