
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-circle-text
Advanced tools
A lightweight and flexible React component for rendering beautiful circular text on a canvas — perfect for profile frames, banners, posters, and more.

npm install react-circle-text
import { CircularText } from 'react-circle-text'
export default function Example() {
return (
<CircularText
text="Hello Circular World!"
radius={90}
fontSize={24}
fontFamily="Arial"
fontWeight="bold"
color="#0070f3"
angleDeg={90}
direction="clockwise"
flip={false}
align="center"
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | – | The text to render |
| radius | number | 150 | Circle radius |
| fontSize | number | 24 | Font size in px |
| fontFamily | string | Arial | Font family |
| fontWeight | string | normal | Font weight |
| color | string | #000 | Text color |
| angleDeg | number | 0 | Starting angle in degrees |
| direction | 'clockwise' | 'counter-clockwise' | 'clockwise' | Text direction |
| flip | boolean | false | Keep letters upright |
| align | 'start' | 'center' | 'end' | 'center' | Text alignment |
| rtl | boolean | false | RTL support |
| letterSpacing | number | 0 | Additional space between letters |
| exportAs | 'png' | 'svg' | – | Optional export format |
| onExport | (url: string) => void | – | Callback fired after export |
This package uses Vitest and jsdom for unit tests.
npm test
✅ Includes:
# run tests
npm test
# build package
npm run build
MIT © Hovhannes Khachatryan
Pull requests and feature suggestions are welcome!
If you build something cool with this library, tag us or share a screenshot 😎
FAQs
Lightweight React component for circular text rendering
We found that react-circle-text 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.

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.