Radial Chord Ring with Growing Links
Twenty colored blocks sit evenly around a thin ring on a dark teal dot grid. Selecting one grows cubic Bézier links from both ends to its partners, staggered by angle, and draws an S-shaped axis through the center. HTML and react-native-svg.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "radial-chord-ring-with-growing-links" to this project. The full source is attached at the end of this prompt. Put the files under components/radial-chord-ring-with-growing-links/, install the listed dependencies with `npx expo install`, and render it on a route I can open. Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply. === Source files are attached here for paid plans ===
Details
- Platforms
- iOS, Android, Web
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 18 Nov 2026
- License
- Unlimited commercial projects
- Original design
Are you the designer? Ask us to change or remove this.
Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs
What it does
A standalone square panel on a dark background. Twenty labelled blocks are placed around a ring, ten on each side, with gaps at the top and bottom. Each block has two halves, a white one and a blue one, for incoming and outgoing links, and a small magenta or cyan bar outside the ring. A curved vertical line enters from the top and leaves at the bottom through the selected block, with two glowing dots on it. Tapping a block selects it. Its links then grow one after another across the ring toward the related blocks, their end points fade in, and the labels of the connected blocks turn white and bold. Hovering brightens a block.
How it's built
A shared JavaScript core holds the measurements, the sample data, a small selection and hover state machine, hit testing and a function that returns the display list for a given moment. The React Native component draws that list with react-native-svg, using paths, circles, gradients and text, and the web preview reuses the same list. Each link is a cubic curve whose inner control points sit at the ring's center, and links grow with an ease-out curve, staggered by their angular distance from the selection. Changing selection cross-fades the old links, blocks and the vertical line.
Good for
- Showing how items in one set relate to each other, such as transfers, calls or dependencies
- A relationship picker where the selected item reveals its connections
- A static-looking data panel that becomes explorable on tap
Dependencies
react-native-svgreact-native