Showcases
Starlight Showcases is a Starlight component library that offers a variety of showcase items that can be added to MDX content:
Example
Section titled “Example”The following MDX code:
import { ShowcaseYouTube } from 'starlight-showcases'
<ShowcaseYouTube entries={[ { href: 'https://www.youtube.com/watch?v=5u0Ds7wzUeI', title: 'Starlight by Astro', }, { href: 'https://www.youtube.com/watch?v=TtRtkTzHVBU', title: 'The Astro Community', }, ]}/>will render:
Enabling Showcases
Section titled “Enabling Showcases”When you choose Showcases as an option, the
starlight-showcases dependency
is added to the Starlight project.