
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
typewriter4react-native
Advanced tools
Customizable typewriter-style text animation component for React Native. Built for smooth, lightweight, and flexible usage in mobile apps.
Customizable typewriter-style text animation component for [React Native].
Built for smooth, lightweight, and flexible usage in mobile apps.
Currently the only open-source React Native typewriter that ensures stable container sizing.
Fully compatible with Expo.
Version: 0.5.2
New updates:
npm install --save typewriter4react-native
or
yarn add typewriter4react-native
Pass text and selected customization data into the component to set up the animation.
import { Typewriter } from "typewriter4react-native";
const SomeComponent = () => {
return (
<Typewriter
isActive
reserveSpace
speed="fast"
textStyle={{
fontSize: 30,
fontFamily: "Roboto",
}}
text="Lorem ipsum dolor sit amet..."
/>
);
};
Prop | Type | Description | Default |
---|---|---|---|
text | string | The text string that is to be animated. | — |
textStyle | StyleProp<TextStyle> | Text style. | { fontSize: DEFAULT_FONTSIZE_VALUE, color: 'black', flexWrap: 'wrap' } |
cursorStyle | `Omit<ViewStyle, 'backgroundColor' | 'opacity'> & { color?: ViewStyle['backgroundColor']; minOpacity?: ViewStyle['opacity']; maxOpacity?: ViewStyle['opacity']; fontSize?: TextStyle['fontSize']; fontWeight?: TextStyle['fontWeight']; }` | Cursor style. Size/position are derived from the font size by default (unless explicit values are stated). Opacity is controlled by minOpacity & maxOpacity . |
containerStyle | StyleProp<ViewStyle> | Container style. | — |
speed | 'slow' | 'medium' | 'fast' | 'very_fast' | 'fastest' | Typing speed presets. Ignored if typingDelayPerChar is set. Options (equivalent values in ms per char): 'slow' (150), 'medium' (125), 'fast' (100), 'very_fast' (75), 'fastest' (55). | 'fast' |
hideCursorOnFinish | boolean | Determines if the cursor disappears after the text is displayed. | true |
isActive | boolean | Determines if the animation should run. | true |
startDelay | number | Delay in ms before animation starts after activation. | — |
cursorDisappearDelay | number | How many ms the cursor stays after text is displayed. | — |
cursorBlinkTime | number | How many ms a single cursor blink lasts. | 200 |
onFinish | () => void | Callback when typing animation finishes (before cursor disappears). | — |
reserveSpace | boolean | Reserves space for the text before it appears. | true |
backwards | boolean | If true, animation erases text instead of typing it. | — |
typingDelayPerChar | number | Delay in ms per character. Overrides speed . | Derived from speed |
typingDelayPerCharVariance | number | Random additional delay variance per character. | 100 |
cursorType | 'view' | 'text_simple' | Cursor type. 'view' is customizable; 'text_simple' is simpler but more limited. | 'view' |
cursorTextSimpleCustomChar | string | Replaces the | string in text_simple cursor. Recommended single character. | — |
disableCursor | boolean | If true, the cursor isn't rendered. | false |
pause | boolean | If true, pauses writing text. Cursor remains (if not disabled). | — |
Best contact me via GitHub or e-mail if you are willing to contribute.
Some of the planned (or dreamed) additions are listed in the file toadd.txt
in the root folder of the package repository.
MIT
FAQs
Customizable typewriter-style text animation component for React Native. Built for smooth, lightweight, and flexible usage in mobile apps.
The npm package typewriter4react-native receives a total of 282 weekly downloads. As such, typewriter4react-native popularity was classified as not popular.
We found that typewriter4react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.