
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
expo-doodle
Advanced tools
A simple and minimal drawing library for Expo.
To install expo-doodle, run the following command:
npm install expo-doodle
Here is a simple example to get started:
import { useRef } from "react";
import { View, Button } from "react-native";
import ExpoDoodle from "expo-doodle";
const App = () => {
const undoRef = useRef(() => {});
const clearRef = useRef(() => {});
return (
<View style={{ flex: 1 }}>
<ExpoDoodle
strokeWidth={4}
color={"black"}
clear={(clear) => (clearRef.current = clear)}
undo={(undo) => (undoRef.current = undo)}
/>
<Button title="Undo" onPress={() => undoRef.current()} />
<Button title="Clear" onPress={() => clearRef.current()} />
</View>
);
};
export default App;
| Prop | Type | Default | Description |
|---|---|---|---|
containerStyles | object | {} | Custom styles for the canvas container. |
color | string | #000 | The color of the brush. |
strokeWidth | number | 4 | The size of the brush in pixels. |
undo | func | undefined | Callback function to undo the last action. |
clear | func | undefined | Callback function to clear the canvas. |
expo-doodle is compatible with Expo SDK 49 and above. It works well on both Android and iOS devices.
Contributions are welcome! If you have a feature request, bug report, or would like to contribute to the codebase, please open an issue or submit a pull request.
This project is licensed under the MIT License.
FAQs
A simple and minimal drawing library for Expo.
We found that expo-doodle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.