Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Linked Issues Changelog Block for Svelte

Two releases as cells that overshoot their lines, each change ending with an issue chip that opens a card with the issue's title, state and assignee, and a foot that counts the issues each release closes.

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

A changelog for Svelte with Ark UI, written for Ticketthread, a fictional issue tracker. A start-aligned header sits over two release cells whose rules and plus marks run a little past their corners, side by side on a wide screen and in one column on a phone. Each cell has the version in mono, the day and the type tags, a title and a list of changes. Every change ends with its issue as a mono chip with an external-link arrow, a link to the tracker. Pointing at a chip, or focusing it, opens a card with the issue's title, its state (an icon and a word) and its assignee, and the same facts are in the link's name for anyone who never sees the card. A line at the foot of each cell says what it closes, counted from the issues' own states. It's built from Hover Card, Avatar, Badge and Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For issue trackers, project tools and engineering teams that tie every change to a ticket. The releases, issues and names are example data.

FAQ

How do I change the releases and the issues?

Edit RELEASES at the top of the file. A release has a version, an ISO date, its type tags, a title and changes; a change is a sentence and its issue, which has an id, a title, a state and an assignee. A state is one of two constants, Closed or Open. Dates are fixed, never computed from today.

How is the count at the foot worked out?

From the data. A release closes the changes whose issue is Closed; an Open known issue is listed in the cell but not counted. The line reads "Closes 1 issue" in the singular, so editing the list keeps it true.

How does the card open, and what about keyboards, screen readers and touch?

It opens when you point at a chip. The card is extra: the link's own name already holds the title, the state and the assignee, so a screen reader hears the facts without it, and on a touch screen the chip simply follows its link. The trigger takes asChild around the link, and the card also opens when the link takes keyboard focus.

How are states told apart without colour?

Each state is an icon and a word: a circle with a check for Closed and a circle with a dot for Open. The card shows the same pair, and the link's name says the word.

How does it fit on a phone and in a right-to-left layout?

Below md the cells stack in one column and chips wrap with their sentence. In a right-to-left layout the cells mirror, while each issue id stays left to right.