酷炫tab页
✓ Published1🌍 Public
This example shows a circular tab menu with five wedge-shaped sections arranged around a central pivot. Hovering over a wedge highlights it in red and turns its label white, while clicking logs the tab name to the console. The visualization uses React hooks (useState) to manage hover state and renders SVG polygons and text paths for the menu items. Text labels follow curved paths computed with trigonometry, and all geometry is defined with plain JavaScript math rather than D3 scales or layouts.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed