Skip to content

Component gallery

  1. Media
  2. Shorts

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 · 5 of 5

Shorts

Without JS, a feed of the browser's own players. Up/Down, K and M work while focus is inside.

src/components/blocks/shorts/shorts.astro2 stories site only animated

Preview settings
Width
Preview width
Stage
Stage
default
Props of default
<Shorts label="Shorts" videos={[{ src: "/_astro/mandelbrot.DR6PBdU4.mp4", poster: image("/_astro/mandelbrot.C3E9XnuJ.jpg"), title: "Zooming into the Mandelbrot set until something happens (nothing happens) #math…", channel: "test-pattern", … }, { src: "/_astro/life.CbMkOyc6.mp4", poster: image("/_astro/life.BRw7rbzU.jpg"), title: "Conway's Game of Life but the cells are pink", channel: "greg", … }, { src: "/_astro/gradients.K4-hpfM8.mp4", poster: image("/_astro/gradients.DSmm1CEP.jpg"), title: "8 seconds of gradients to reset your brain", channel: "calm-pixels", … }, { src: "/_astro/rule-110.N1l85Hx-.mp4", poster: image("/_astro/rule-110.C0ddvhoy.jpg"), title: "Rule 110 is Turing complete and it looks like this", channel: "test-pattern", … }]} />
Open shorts/default on its own
T
T
@test-pattern

Zooming into the Mandelbrot set until something happens (nothing happens) #math #fractal

G
G
@greg

Conway's Game of Life but the cells are pink

C
C
@calm-pixels

8 seconds of gradients to reset your brain

T
T
@test-pattern

Rule 110 is Turing complete and it looks like this

secondary
Props of secondary
<Shorts label="Shorts, secondary" videos={[{ src: "/_astro/life.CbMkOyc6.mp4", poster: image("/_astro/life.BRw7rbzU.jpg"), title: "Conway's Game of Life but the cells are pink", channel: "greg", … }, { src: "/_astro/gradients.K4-hpfM8.mp4", poster: image("/_astro/gradients.DSmm1CEP.jpg"), title: "8 seconds of gradients to reset your brain", channel: "calm-pixels", … }]} tone="secondary" style="--shorts-height: 30rem" />
Open shorts/secondary on its own
G
G
@greg

Conway's Game of Life but the cells are pink

C
C
@calm-pixels

8 seconds of gradients to reset your brain

PreviousRadioNextTerminal