Hero 770 block design & features
Hero770 is an investing hero built with shadcn/ui and Motion. The heading, description, two buttons and a risk line sit on the left, and on the right is a fund card with a large price, the day's change, a live sparkline and range tabs, with a three-row watchlist beneath.
The sparkline draws in on load and then a new price arrives every fraction of a second, extending the line with a pulsing end point while each digit of the price rolls to its new value and the change line turns green or red. On phones the card sits under the copy at full width, and visitors who prefer reduced motion see a still chart and price.
It suits investing apps, brokerages, savings products and fintech launches. Surfaces use theme tokens, so it works in light and dark mode.
