Zum Inhalt springen
Skillpedia
Oberflächen (UI/UX)101k · #867

contact-widget

Was er macht

Erstellt einen kleinen schwebenden Button, der beim Klicken ein Chatfenster öffnet. Dieses Fenster kann eine Begrüßungsnachricht, Links zu Social-Media-Profilen, einen Button zum Buchen eines Termins und ein Eingabefeld für Nachrichten anzeigen.

Wann du ihn nutzt

  • ✓Wenn du deiner Website einen einfachen Kontaktweg hinzufügen willst.
  • ✓Um Besucherinnen und Besuchern deiner Website schnell Unterstützung anzubieten.
  • ✓Um es Kunden leichter zu machen, einen Termin zu buchen.

Link zum Skill

https://github.com/nexu-io/open-design/blob/main/design-templates/contact-widget/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/nexu-io/open-design/blob/main/design-templates/contact-widget/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle ein Chat-Widget für meine Website mit einem Button zum Terminbuchen und Links zu WhatsApp und Instagram.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool erzeugt eine Code-Datei (HTML), die du in deine Website einfügen kannst. Dieser Code erstellt das Aussehen des Chats und die Buttons, ohne dass du weitere Tools brauchst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Contact Widget

What this skill produces

A single self-contained HTML file with a floating chat widget that includes:

  1. Chat bubble — fixed bottom-right circular button, opens/closes the panel
  2. Welcome home screen — agent avatar + name + online status + greeting message
  3. Message input — text field with emoji/send icons (UI only; wire to your own backend)
  4. Social links — row of circular icons (Telegram, WhatsApp, Instagram, Messenger, Discord, Slack — only the ones the user provides)
  5. Meeting card — optional "Book a meeting" entry with calendar icon, links to user-provided URL (Calendly, Cal.com, Lark, etc.)
  6. Offline form — fallback contact form (name, email, message) when is_available=false
  7. 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_color drives 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 12px on 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

  1. 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.
  2. Generate one HTML file with all provided values inlined as literals (no template engine, no {{ }} placeholders in the output)
  3. Open the widget panel by default on first paint so the preview is useful
  4. 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 the send handler with window.location.href = 'mailto:you@example.com?subject=...&body=' + encodeURIComponent(text). Zero infra, but the visitor's mail client opens.
  • Own /api/contact endpoint — 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)

…

Häufige Fragen

Was passiert, wenn ich nicht erreichbar bin?

Wenn du dich als nicht verfügbar einstellst, zeigt das Widget ein Formular, über das Besucher eine Nachricht und ihre E-Mail-Adresse hinterlassen können.

Brauche ich einen Programmierer, um das zu nutzen?

Nein, das Ergebnis ist eine fertige Code-Datei. Du musst sie nur kopieren und in deine Website einfügen.

Kann ich die Farben und Texte ändern?

Ja, du kannst die Hauptfarbe, den Namen des Agenten und die Begrüßungsnachricht festlegen.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
101k
Platz im Ranking
#867
Lizenz
Apache-2.0
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills