Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Index Preview Portfolio Gallery Block for Solid

A numbered index of eight projects whose rows are links, with one drawn picture that changes as the pointer or keyboard focus moves between them.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

An index-preview portfolio for Solid with Ark UI, for Studio Onward, an independent design studio. Behind a split divider the start column is a numbered list of eight projects, each row a link with its number, client, discipline and year, with a + mark where the rule meets the divider. The end column is one framed picture that follows the row under the pointer or the one with keyboard focus: a brand mark, an app screen, a poster or packaging, drawn in code in your theme's greys. The first row shows until you choose another. On phones the picture is a small band above the index and a tap on a row previews it. The studio, its clients and the projects are made up for the example. Built from Guides and your own links.

FAQ

Is the preview only for the mouse?

No. Moving the pointer onto a row or focusing it with Tab shows its picture, and on a touch screen a tap does the same. The picture only repeats what the row says, so it is hidden from assistive technology and the rows stay the content.

How do I use my own pictures?

PROJECTS lists the rows, each with an art kind and a version, and ArtFor picks the drawing. Replace the drawings with an img per project (the stack of pictures is one grid cell, only the chosen one visible), and keep the 4 by 3 box.

What happens with reduced motion?

The picture changes at once, without the short cross-fade.

Does it work in a right-to-left page?

The split, the rows and the arrow mirror, and the year and number are isolated so the digits keep their order.

How does it fit a phone?

The picture moves above the list as a short band so it is visible while you choose, and the rows keep their size.