FAQ

FAQ with a neon line on the open item

Tattoo studio FAQ: a details accordion with numbers; on the open question a neon line lights up on the left, the number glows, the plus rotates into a cross, the answer fades in. One open at a time. A sticky heading with a lede on the left.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • items: questions and answers
  • eyebrow, title, lede
  • accent and background, tone

Built from

The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
FAQ with a neon line on the open item — Tattoo studio FAQ: a details accordion with numbers; on the open question a neon line lights up on the left, the number glows, the plus rotates into a cross, the answer fades in. One open at a time. A sticky heading with a lede on the left.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/faq-019?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

How to use

<Faq019
  title="What people ask before the first needle"
  items={[
    { question: "Does it hurt?", answer: "Bearable. Depends on the zone, breaks every 40 minutes." },
    { question: "How long does it heal?", answer: "The top layer — two weeks, fully — a month." },
  ]}
/>

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Theme
tone · default: auto
Title
title · default: What people ask before the first needle
First open
openFirst · default: off
Accent
accent · default: theme colour
Background
background · default: theme colour

Used in scenarios

FAQ

How do I add FAQ with a neon line on the open item with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does FAQ with a neon line on the open item depend on?
No npm packages beyond React and Tailwind CSS. It also installs catalog components: accordion-019.
What can I change in FAQ with a neon line on the open item?
Adapt: items: questions and answers; eyebrow, title, lede; accent and background, tone. Keep as installed: the accordion-019 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the neon line on the left of the open question and the glowing number; one open question via name on details, no state.
Is FAQ with a neon line on the open item free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/faq-019.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

A composite block: imports accordion-019 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone. One file, zero npm dependencies, a server component. <details name={useId()}> — one open; the line is the details' ::before scaling Y 0→1 with a neon box-shadow when [open]; the summary is a 2.2rem/1fr/1.5rem grid: a mono number, the text, a plus of two bars (rotate 45deg when [open]). The answer is a <p> with a fade @keyframes. From 60rem (container query) two columns 2fr/3fr, the heading position:sticky. Palette --vibeui-faq-019-*: a near-black background, light text, neon magenta #ff2bd6 as the accent, violet #8b5cff and cyan #22f3ff for captions, lime #c8ff3a for statuses; glows via text-shadow and box-shadow. The block is always dark inside (color-scheme:dark), the page background comes via background. Unbounded, Manrope and JetBrains Mono via <link precedence> from Google Fonts with system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.

Tags

  • tattoo
  • neon
  • dark
  • studio
  • landing
  • faq
  • accordion
  • questions
  • composite
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…