Skip to content
Cloudflare Docs

RSSButton

Example

import { RSSButton } from "~/components";
<RSSButton changelog="Workers" />
<br />
<RSSButton href="/custom/feed.xml" text="Custom Feed" icon="external" />

Props

text

type: string

default: "Subscribe to RSS"

The text to display in the button.

icon

type: StarlightIcon

default: "rss"

The icon to display next to the text. Uses Starlight's icon component.

changelog or href

You must provide either changelog or href, but not both:

changelog

type: string

The name of the changelog to link to. This will be transformed into a lowercase, hyphen-separated string and used to construct the RSS feed URL in the format /changelog/rss/{changelog}.xml.

href

type: string

A custom URL to link to. Use this when you need to link to an RSS feed that doesn't follow the standard changelog URL pattern.