contact-widget
Fungsinya
Membuat tombol kecil yang mengambang di website. Saat diklik, tombol ini membuka jendela chat yang bisa menampilkan pesan sambutan, tautan media sosial, tombol pemesanan jadwal pertemuan, dan kolom input pesan.
Kapan dipakai
- βSaat Anda ingin menambahkan saluran kontak yang mudah di website.
- βUntuk memberikan dukungan cepat kepada pengunjung website.
- βUntuk memudahkan klien memesan jadwal pertemuan.
Link skill
https://github.com/nexu-io/open-design/blob/main/design-templates/contact-widget/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan widget chat untuk website saya dengan tombol pemesanan jadwal pertemuan serta tautan ke WhatsApp dan Instagram.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini menghasilkan file kode (HTML) yang bisa Anda tambahkan ke website. Kode ini membuat tampilan chat dan tombol-tombolnya tanpa perlu alat lain.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Contact Widget
What this skill produces
A single self-contained HTML file with a floating chat widget that includes:
- Chat bubble β fixed bottom-right circular button, opens/closes the panel
- Welcome home screen β agent avatar + name + online status + greeting message
- Message input β text field with emoji/send icons (UI only; wire to your own backend)
- Social links β row of circular icons (Telegram, WhatsApp, Instagram, Messenger, Discord, Slack β only the ones the user provides)
- Meeting card β optional "Book a meeting" entry with calendar icon, links to user-provided URL (Calendly, Cal.com, Lark, etc.)
- Offline form β fallback contact form (name, email, message) when
is_available=false - Mobile responsive β full-width on small viewports
Output is pure front-end. No tracking, no phone-home, no required external services. Works offline once loaded.
Design direction
Clean, minimal SaaS aesthetic. Looks like a real product widget, not a toy demo:
- Typography: Inter (Google Fonts), 14px base, semi-bold headings
- Colors: A single user-chosen
primary_colordrives the bubble, avatar, send button, and accent. Everything else is a neutral slate palette (#1e293b/#64748b/#f1f5f9). No purple gradients, no glassmorphism, no AI-style rainbow accents. - Radius: 16px on cards, full-round on bubble and avatars
- Shadows: Subtle
0 8px 32px rgba(0,0,0,0.12)on the widget panel,0 4px 12pxon bubble - Spacing: 16px internal padding, 12px gaps between elements
- States: Hover darkens buttons ~5%, active scales bubble 0.95
Inputs
The skill accepts these parameters from the user:
| Input | Type | Default | Description |
|---|---|---|---|
primary_color |
color | #4F7CFF |
Drives bubble, header, send button, accents |
agent_name |
string | Assistant |
Displayed in header greeting |
greeting |
string | Hello! How can I help you today? |
Subtitle in header |
is_available |
boolean | true |
Online status; false shows offline form |
social_telegram |
string | (empty) | Telegram link β omitted if empty |
social_whatsapp |
string | (empty) | WhatsApp link β omitted if empty |
social_instagram |
string | (empty) | Instagram link β omitted if empty |
meeting_url |
string | (empty) | Booking URL (Calendly, Cal.com, etc.) β omitted if empty |
offline_message |
string | We're currently offline. Leave a message and we'll get back to you! |
Shown when is_available=false |
Workflow
- Resolve primary color, agent name, greeting text, online/offline state, social links, and optional meeting URL from the request and known context. Use the documented defaults and omit empty optional links. Ask one consolidated form only if a missing value would materially change the requested widget and cannot be safely defaulted.
- Generate one HTML file with all provided values inlined as literals (no template engine, no
{{ }}placeholders in the output) - Open the widget panel by default on first paint so the preview is useful
- Do not add any
<script src="β¦">pointing to third-party SDKs unless the user explicitly asks for backend integration. The output must run from disk with zero network calls beyond the Google Fonts CSS.
Backend integration (optional, user-driven only)
The generated widget is a UI artifact and ships zero vendor code by default. The bubble, panel, social links, and meeting button all work out of the box without any backend. Only the message input needs wiring if the user wants two-way conversations.
If the user explicitly asks to wire the message input to a real backend, offer these in order of escalating commitment:
Tier 1 β No backend (default)
The widget already works as a contact surface via social links + meeting URL. Leave it as-is.
Tier 2 β One-shot messages, no chat history
mailto:fallback β replace thesendhandler withwindow.location.href = 'mailto:you@example.com?subject=...&body=' + encodeURIComponent(text). Zero infra, but the visitor's mail client opens.- Own
/api/contactendpoint βfetch('/api/contact', { method: 'POST', body: JSON.stringify({ text }) }). The user owns delivery (SendGrid, Resend, their own SMTP, a Notion/Airtable webhook, etc.).
Tier 3 β Real-time chat (visitor β agent, history, typing, presence)
β¦
Pertanyaan umum
Apa yang terjadi jika saya sedang offline?
Jika Anda menandai diri sebagai tidak tersedia, widget akan menampilkan formulir agar pengunjung bisa meninggalkan pesan beserta email mereka.
Apakah saya perlu programmer untuk memakainya?
Tidak perlu. Hasilnya berupa file kode yang siap pakai. Anda hanya perlu menyalin dan menempelkannya ke website Anda.
Bisakah saya mengubah warna dan teks?
Bisa. Anda dapat memilih warna utama, nama agent, dan pesan sambutan.
Detail
Deskripsi asli dari pembuat
Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.
repo: nexu-io/open-design
Popularitas
- Bintang GitHub
- 101k
- Peringkat
- #867
- Lisensi
- Apache-2.0
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
sample-plugin
101kMembuat agent Anda menghasilkan file metadata untuk pengujian. Ini membantu memastikan kode berjalan dengan benar di berbagai situasi.
aster-atelier
101kMembantu agent Anda membuat website artistik dengan tampilan klasik. Menggunakan citra elegan, langit biru, dan font serif untuk nuansa sinematik.
audio-jingle
101kMembuat agent Anda menghasilkan audio seperti jingle dan efek suara. Bisa membuat musik dan suara, lalu menyimpan hasilnya sebagai file audio.
blog-post
101kMembantu agent Anda menulis artikel panjang atau postingan blog. Sudah tersedia ruang untuk gambar, kutipan, dan informasi penulis.
Skill serupa
canvas
394kMemungkinkan agent Anda menampilkan widget visual yang di-hosting di panel Mac yang terhubung, lalu menyembunyikan panel atau memindahkannya ke halaman lain.
control-ui
394kMembantu agent Anda mengatur dan memecahkan masalah OpenClaw Control UI, termasuk sesi, dasbor, dan Gateway yang terhubung.
diagram-maker
394kMembantu agent Anda membuat diagram yang jelas sebagai SVG, HTML, atau Excalidraw yang dapat diedit untuk proses, arsitektur sistem, dan sketsa papan tulis.