Skip to content

Component gallery

  1. Media
  2. Radio

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Display

ThemeT
Mode
Mode
M
Style
Style
Y
Spacing
Spacing
Radius
Radius
Font size
Font size
Compare
Compare
Effects
S

ShortcutsAlt+Shift+key

Components

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Media · 4 of 5

Radio

Without JS, the browser's own player for the first track, and links to each file.

src/components/blocks/radio/radio.astro5 stories site only

Preview settings
Width
Preview width
Stage
Stage
default
Props of default
<Radio tracks={[{ src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Tone", artist: "ffmpeg", cover: image("/_astro/test-pattern.CRwj5U5U.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Pattern Blues", artist: "Greg", cover: image("/_astro/greg.B9OwiVM9.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Untitled Demo With No Cover", artist: "Unknown" }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Instrumental" }]} name="CPlusPatch FM" />
Open radio/default on its own
CPlusPatch FM On air Off air
Test Toneffmpeg
0:00 / 0:00
  1. 1Test Toneffmpeg
  2. 2Test Pattern BluesGreg
  3. 3Untitled Demo With No CoverUnknown
  4. 4Instrumental
secondary
Props of secondary
<Radio tracks={[{ src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Tone", artist: "ffmpeg", cover: image("/_astro/test-pattern.CRwj5U5U.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Pattern Blues", artist: "Greg", cover: image("/_astro/greg.B9OwiVM9.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Untitled Demo With No Cover", artist: "Unknown" }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Instrumental" }]} name="CPlusPatch FM" tone="secondary" />
Open radio/secondary on its own
CPlusPatch FM On air Off air
Test Toneffmpeg
0:00 / 0:00
  1. 1Test Toneffmpeg
  2. 2Test Pattern BluesGreg
  3. 3Untitled Demo With No CoverUnknown
  4. 4Instrumental
capped
Props of capped
<Radio tracks={[{ src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Tone", artist: "ffmpeg", cover: image("/_astro/test-pattern.CRwj5U5U.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Pattern Blues", artist: "Greg", cover: image("/_astro/greg.B9OwiVM9.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Untitled Demo With No Cover", artist: "Unknown" }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Instrumental" }, …4 more]} style="max-block-size: 22rem" />
Open radio/capped on its own
Test Toneffmpeg
0:00 / 0:00
  1. 1Test Toneffmpeg
  2. 2Test Pattern BluesGreg
  3. 3Untitled Demo With No CoverUnknown
  4. 4Instrumental
  5. 5Test Toneffmpeg
  6. 6Test Pattern BluesGreg
  7. 7Untitled Demo With No CoverUnknown
  8. 8Instrumental
single-track
Props of single-track
<Radio tracks={[{ src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Tone", artist: "ffmpeg", cover: image("/_astro/test-pattern.CRwj5U5U.jpg") }]} />
Open radio/single-track on its own
Test Toneffmpeg
0:00 / 0:00
  1. 1Test Toneffmpeg
unframed
Props of unframed
<Radio tracks={[{ src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Tone", artist: "ffmpeg", cover: image("/_astro/test-pattern.CRwj5U5U.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Test Pattern Blues", artist: "Greg", cover: image("/_astro/greg.B9OwiVM9.jpg") }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Untitled Demo With No Cover", artist: "Unknown" }, { src: "/_astro/test-tone.CyaTedQ6.ogg", title: "Instrumental" }]} name="CPlusPatch FM" framed={false} />
Open radio/unframed on its own
CPlusPatch FM On air Off air
Test Toneffmpeg
0:00 / 0:00
  1. 1Test Toneffmpeg
  2. 2Test Pattern BluesGreg
  3. 3Untitled Demo With No CoverUnknown
  4. 4Instrumental
PreviousMedia playerNextShorts