
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-curved-text
Advanced tools
react-curved-text a library for creating circular / curved texts in React projects.
react-curved-text requires:
yarn add react-curved-text
or
npm install react-curved-text
import ReactCurvedText from 'react-curved-text';
const MyComponent = () => {
return (
<ReactCurvedText
width={300}
height={300}
cx={150}
cy={150}
rx={100}
ry={100}
startOffset={50}
reversed={false}
text="react-curved-text"
textProps={{ style: { fontSize: 24 } }}
textPathProps={null}
tspanProps={null}
ellipseProps={null}
svgProps={null}
/>
);
};
export default MyComponent;
Checkout live examples on react-curved-text-demo page for various customizations.
Checkout a Live Example with Rotate Animation.
| Prop | Type | Required | Description |
|---|---|---|---|
| text | string | yes | Text to be displayed |
| width | number | yes | Width of the SVG |
| height | number | yes | Height of the SVG |
| cx | number | yes | Center x of the ellipse |
| cy | number | yes | Center y of the ellipse |
| rx | number | yes | Radius x of the ellipse |
| ry | number | yes | Radius y of the ellipse |
| startOffset | number | no | Start offset of the text |
| reversed | boolean | no | Reverse the text path |
| textProps | object | no | Props to be passed to the text element |
| textPathProps | object | no | Props to be passed to the textPath element |
| tspanProps | object | no | Props to be passed to the tspan element |
| ellipseProps | object | no | Props to be passed to the ellipse element |
| svgProps | object | no | Props to be passed to the svg element |
FAQs
A library for creating circular / curved texts in React projects
The npm package react-curved-text receives a total of 1,714 weekly downloads. As such, react-curved-text popularity was classified as popular.
We found that react-curved-text demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.