Skip to content

Component gallery

  1. Content
  2. Contact methods

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

Content · 8 of 8

Contact methods

src/components/blocks/contact-method.astro7 stories site only

Preview settings
Width
Preview width
Stage
Stage
default
Props of default
<ContactMethod name="GitHub" href="https://github.com/example" icon="lucide:github" handle="github.com/example" />
Open contact-method/default on its own

GitHub

github.com/example
(opens in new tab)
copyable
Props of copyable
<ContactMethod name="Email" href="mailto:test@example.com" icon="lucide:at-sign" handle="test@example.com" copy="test@example.com" />
Open contact-method/copyable on its own

Email

test@example.com
name-only
Props of name-only
<ContactMethod name="Email" href="mailto:test@example.com" icon="lucide:at-sign" />
Open contact-method/name-only on its own

Email

long-handle
Props of long-handle
<ContactMethod name="Matrix" href="https://matrix.to/#/@a-very-long-username:a-rather-long-homeserver.example.org" icon="matrix" handle="@a-very-long-username:a-rather-long-homeserver.example.org" copy="@a-very-long-username:a-rather-long-homeserver.example.org" />
Open contact-method/long-handle on its own

Matrix

@a-very-long-username:a-rather-long-homeserver.example.org
(opens in new tab)
narrow-copyable
Props of narrow-copyable
<ContactMethod name="Email" href="mailto:test@example.com" icon="lucide:at-sign" handle="contact@cpluspatch.com" copy="contact@cpluspatch.com" style="max-inline-size: 15rem" />
Open contact-method/narrow-copyable on its own

Email

contact@cpluspatch.com
short
Props of short
<ContactMethod name="X" href="https://example.com" icon="lucide:globe" handle="x.co" />
Open contact-method/short on its own

X

x.co
(opens in new tab)
tone-success
Props of tone-success
<ContactMethod name="Signal" href="https://signal.me/#eu/example" icon="signal" handle="@example.95" copy="example.95" tone="success" />
Open contact-method/tone-success on its own
Signal

Signal

@example.95
(opens in new tab)
PreviousCodeNextMessages