@reactbytes/keyboard-text
v1.0.0
Published
A premium, modular React component from the **React Bytes** collection. Built with React and TypeScript.
Readme
Keyboard Text
A premium, modular React component from the React Bytes collection. Built with React and TypeScript.
Installation
npm install @reactbytes/keyboard-textUsage
import { KeyboardText } from "@reactbytes/keyboard-text";
export default function Example() {
return (
<KeyboardText />
);
}Properties
| Prop | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| text | string | KEYBOARD | The text sequence to apply the ghost typing effect to. |
| yBounce | number | 10 | The distance in pixels each character travels downward mimicking a key press. |
| color | color | #FFFFFF | The base color of the text letters. |
| uppercase | boolean | true | Whether to force the text to uppercase. |
Presets
This component includes the following design presets:
- Classic Keyboard (
default) - Deep Press (
deep-press) - Subtle Taps (
subtle)
Credits & Inspiration
Component Source
- ChandruMIT-o - Design & Development
Inspiration
- Juxtopposed - Visual Concept
For interactive playgrounds, customizable controls, and code copy-pasting, visit the full showcase page at React Bytes - Keyboard Text.
