Hero 490 block design & features
Hero490 is a full-screen publishing hero built with shadcn/ui and CSS 3D. The heading, description and buttons sit at the top, a shelf of twelve books stands across the middle, and a caption and slider sit underneath. Each book is a solid box with its own spine, front cover, back and page edges, and the covers use flat colours, simple shapes and serif titles.
On load the books drop onto the shelf one after another. The shelf then browses itself: the book at the centre turns on its vertical axis to face forward with its cover showing, and the books around it slide apart to make room, then turn back to spines as the next book takes its place. Drag across the shelf, move the slider or use the arrow keys to browse, and the caption updates with the title, author and price.
It suits publishers, bookshops, magazines and course catalogues with a list of titles to show off. Book titles, colours, spine widths and heights are props. The page uses theme tokens for dark mode, and visitors who prefer reduced motion see the shelf standing still with one cover facing forward.
