Mục lục tham khảo

Thành phần thương hiệu

Editor panel

Get in touch with labelled contact rows, a QR slot and an Email me button; variant=band is the press-black contact band for the CV.

Nội dung tham khảo viết bằng tiếng Anh; mục “Vietnamese” có ví dụ tiếng Việt.

Xem trước

Get in touch

Install

bash

npx shadcn add @eloquent/editor-panel

Usage

tsx

import { EditorPanel } from "@/components/ui/editor-panel";

<EditorPanel
  title="Get in touch"
  rows={[
    { label: "Email", value: "name@example.com", href: "mailto:name@example.com" },
    { label: "LinkedIn", value: "linkedin.com/in/example", href: "https://www.linkedin.com/in/example" },
    { label: "Phone", value: "+00 000 000 000", href: "tel:+00000000000" },
    { label: "GitHub", value: "github.com/example", href: "https://github.com/example" },
  ]}
  qr={<img src="/qr.svg" alt="QR code to save my contact" />}
  qrCaption="Scan to save my contact"
  actionLabel="Email me"
  actionHref="mailto:name@example.com"
/>

Add variant="band" for the press-black contact band on the CV.

States

Get in touch

Get in touch

Phone
On request
Email me
StateTreatment
PanelHeavy ink rule on top, hairlines between rows, ink-fill button
Bandpress ground, on-press text and hairlines, inverse button
Row linkUnderlined, no hover effect
Focus2px outline, 2px offset: ink on the panel, on-press on the band
No QROmit qr; the rows take the full width

Keyboard

KeyAction
TabMoves through the row links, then the button
EnterFollows the focused link

Vietnamese

Liên hệ

Quét để lưu liên hệ của tôi

Ink adaptation

Brand item with no upstream. Rules and type replace a card box; the band is the single inverse block of its surface.