nexu-io/open-design

contact-widget

Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.

73CollectingNetwork access
See how to use itView GitHub source
npx skills add https://github.com/nexu-io/open-design --skill "design-templates/contact-widget"
Automated source guideDesignDeep source

Source checked Jul 28, 2026·Refresh due Oct 26, 2026

Reorganized from the pinned upstream SKILL.md

Source-grounded design guide: contact-widget

Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.

npx skills add https://github.com/nexu-io/open-design --skill "design-templates/contact-widget"
Check the pinned source

The pinned source contains enough sections and task detail for a source-grounded deep guide; automated content is still not an independent test.

649 source words · 8 usable sections

Design context

  • The skill accepts these parameters from the user:

Design process

Read contact-widget through these 5 source sections

Sections are extracted automatically from the pinned SKILL.md and link back to the source.

01

Workflow

1. Ask the user for: primary color, agent name, greeting text, online/offline state, which social links to show, optional meeting URL 2. Generate one HTML file with all provided values inlined as literals (no template engine, no {{ }} placeholders in the output) 3. Open the widg…

SKILL.md · Workflow
Ask the user for: primary color, agent name, greeting text, online/offline state, which social links to show, optional meeting URLGenerate 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
02

What this skill produces

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

SKILL.md · What this skill produces
Chat bubble — fixed bottom-right circular button, opens/closes the panelWelcome home screen — agent avatar + name + online status + greeting messageMessage input — text field with emoji/send icons (UI only; wire to your own backend)
03

Design direction

Clean, minimal SaaS aesthetic. Looks like a real product widget, not a toy demo:

SKILL.md · Design direction
Typography: Inter (Google Fonts), 14px base, semi-bold headingsColors: A single user-chosen primarycolor 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 rai…Radius: 16px on cards, full-round on bubble and avatars
04

Inputs

The skill accepts these parameters from the user:

SKILL.md · Inputs
The skill accepts these parameters from the user:
05

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.

SKILL.md · Backend integration (optional, user-driven only)
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.).Knocket — https://trtc.io/solutions/knocket (drop-in, free)

SkillSignal prompt templates

Provide the task, context, and acceptance criteria

These prompts were written by SkillSignal from the source structure; they are not upstream text.

Source-grounded prompt

Use for a design task while explicitly checking the source sections.

Use contact-widget for this design task: [task]. Inputs and constraints: [details]. Work through these pinned SKILL.md sections: “Workflow”, “What this skill produces”, “Design direction”, “Inputs”, “Backend integration (optional, user-driven only)”. Cite the concrete requirements that shape each step, do not invent capabilities absent from the source, and verify the result against: [acceptance criteria].

Design checklist

Verify each item before delivery

The source section “Workflow” has been checked.

The source section “What this skill produces” has been checked.

The source section “Design direction” has been checked.

The source section “Inputs” has been checked.

Static permission evidence

Inspect the exact source lines that triggered a signal

These are source excerpts matched by deterministic rules, not findings of malicious behavior, safety, or actual execution.

Choose a different workflow

When another Skill is the better fit

FAQ

What does the contact-widget source document cover?

Self-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.

How do I install contact-widget?

The source record exposes this install command: npx skills add https://github.com/nexu-io/open-design --skill "design-templates/contact-widget". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged network in the source; the page lists the matching lines and excerpts.

Repository stars
82,073
Repository forks
9,485
Quality
73/100
Source repository last pushed

Quality breakdown

Based on traceable docs and repository signals; stars are not treated as quality.

73/100
Documentation23/30
Specificity14/25
Maintenance20/20
Trust signals16/25
View original Skill.mdThis page is parsed directly from the repository SKILL.md without editorial rewriting. Collected: Jul 28, 2026 · about 4 min

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:

InputTypeDefaultDescription
primary_colorcolor#4F7CFFDrives bubble, header, send button, accents
agent_namestringAssistantDisplayed in header greeting
greetingstringHello! How can I help you today?Subtitle in header
is_availablebooleantrueOnline status; false shows offline form
social_telegramstring(empty)Telegram link — omitted if empty
social_whatsappstring(empty)WhatsApp link — omitted if empty
social_instagramstring(empty)Instagram link — omitted if empty
meeting_urlstring(empty)Booking URL (Calendly, Cal.com, etc.) — omitted if empty
offline_messagestringWe're currently offline. Leave a message and we'll get back to you!Shown when is_available=false

Workflow

  1. Ask the user for: primary color, agent name, greeting text, online/offline state, which social links to show, optional meeting URL
  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 endpointfetch('/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)

This needs an IM/chat SDK. Any of the following work; pick whichever fits your stack:

Do not auto-inject any <script> into the generated output — only add backend integration if the user explicitly opts in.

Skill path
design-templates/contact-widget/SKILL.md
Commit SHA
89d6d4ef21ba
Repository license
Apache-2.0
Data collected