FAQ with a parallax photo
Questions between rules that expand, with a photo that drifts alongside.
UniversalUsed in production
Install
npx finepieces add faq-parallaxOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/faq-parallax.jsonexample.tsx
import { FaqParallax } from "@/components/fine-pieces/faq-parallax";
export default function Example() {
return (
<FaqParallax
image={"/images/salon-3.webp"}
items={[
{ q: "How long does a lash lift last?", a: "Six to eight weeks, depending on your own lashes." },
{ q: "Does waxing hurt?", a: "Briefly, and less the more often you come." },
{ q: "Do I need a patch test?", a: "For your first lash lift or tint, yes. It can be done 48 hours before." },
{ q: "How late can I cancel?", a: "Up to 24 hours before, free of charge." },
]}
/>
);
}