output stringlengths 2.07k 29k | meta dict |
|---|---|
import { useState } from 'react';
const ProductAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "Material & C... | {
"id": "accordion-000004",
"category": "interactive",
"type": "accordion",
"industry": "ecommerce",
"style": "minimal-apple",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
const BrutalistAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const faqItems = [
{
question: "What makes t... | {
"id": "accordion-000032",
"category": "interactive",
"type": "accordion",
"industry": "gaming",
"style": "brutalist-bold",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown } from 'lucide-react';
interface AccordionItem {
id: string;
question: string;
answer: string;
}
export default function LegalAccordion() {
const [openId, setOpenId] = useState<string | null>(null);
const toggleItem = (id: string) => {
setOpenId(op... | {
"id": "accordion-000052",
"category": "interactive",
"type": "accordion",
"industry": "legal",
"style": "minimal-apple",
"theme": "dark",
"source": "moe_h100"
} |
typescript
import { useState } from 'react';
const SwissAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How... | {
"id": "accordion-000054",
"category": "interactive",
"type": "accordion",
"industry": "ngo",
"style": "swiss-grid",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const ProductAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "Mater... | {
"id": "accordion-000050",
"category": "interactive",
"type": "accordion",
"industry": "ecommerce",
"style": "high-contrast-mono",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const Accordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "How do yo... | {
"id": "accordion-000036",
"category": "interactive",
"type": "accordion",
"industry": "creative-agency",
"style": "high-contrast-mono",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const ProductAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "Material & C... | {
"id": "accordion-000016",
"category": "interactive",
"type": "accordion",
"industry": "ecommerce",
"style": "editorial-magazine",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const FitnessAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "H... | {
"id": "accordion-000030",
"category": "interactive",
"type": "accordion",
"industry": "fitness",
"style": "brutalist-bold",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const TravelAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "What's Includ... | {
"id": "accordion-000042",
"category": "interactive",
"type": "accordion",
"industry": "travel",
"style": "editorial-magazine",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, ChevronUp } from 'lucide-react';
const HealthcareAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
... | {
"id": "accordion-000056",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "minimal-apple",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const Accordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "How ... | {
"id": "accordion-000028",
"category": "interactive",
"type": "accordion",
"industry": "ai-tools",
"style": "monochrome-accent",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const Accordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How doe... | {
"id": "accordion-000008",
"category": "interactive",
"type": "accordion",
"industry": "saas",
"style": "dark-modern-saas",
"theme": "dark",
"source": "moe_h100"
} |
typescript
import React, { useState } from 'react';
const FoodDeliveryAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
... | {
"id": "accordion-000022",
"category": "interactive",
"type": "accordion",
"industry": "food-delivery",
"style": "soft-claymorphism",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const HealthcareAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const faqData = [
{
question: "How d... | {
"id": "accordion-000038",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "monochrome-accent",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const BrutalistAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How do yo... | {
"id": "accordion-000014",
"category": "interactive",
"type": "accordion",
"industry": "creative-agency",
"style": "brutalist-bold",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const HealthcareAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "How d... | {
"id": "accordion-000000",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "soft-gradient-saas",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, ChevronUp } from 'lucide-react';
interface AccordionItem {
id: string;
question: string;
answer: string;
}
const CorporateTrustAccordion = () => {
const [openId, setOpenId] = useState<string | null>(null);
const toggleAccordion = (id: string) => {
... | {
"id": "accordion-000062",
"category": "interactive",
"type": "accordion",
"industry": "legal",
"style": "corporate-trust",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const FoodDeliveryAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const faqItems = [
{
question: "How... | {
"id": "accordion-000058",
"category": "interactive",
"type": "accordion",
"industry": "food-delivery",
"style": "soft-claymorphism",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const RealEstateAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question:... | {
"id": "accordion-000048",
"category": "interactive",
"type": "accordion",
"industry": "real-estate",
"style": "editorial-magazine",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, ChevronUp } from 'lucide-react';
const HospitalityAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
... | {
"id": "accordion-000046",
"category": "interactive",
"type": "accordion",
"industry": "hospitality",
"style": "organic-blob",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const GamingAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const faqItems = [
{
question: "What gra... | {
"id": "accordion-000020",
"category": "interactive",
"type": "accordion",
"industry": "gaming",
"style": "dark-modern-saas",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Gamepad2, Shield, Zap, Trophy, Users } from 'lucide-react';
const GamingAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
... | {
"id": "accordion-000012",
"category": "interactive",
"type": "accordion",
"industry": "gaming",
"style": "dark-modern-saas",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const HealthcareAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
id: 1,
ques... | {
"id": "accordion-000002",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "monochrome-accent",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
const HospitalityAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "What ... | {
"id": "accordion-000026",
"category": "interactive",
"type": "accordion",
"industry": "hospitality",
"style": "organic-blob",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
type AccordionItem = {
id: string;
question: string;
answer: string;
};
const FitnessAccordion = () => {
const [openId, setOpenId] = useState<string | null>(null);
const toggleItem = (id: string) => {
setOpenId(openId === id ? null : id);
};
// --- demo data ---
... | {
"id": "accordion-000044",
"category": "interactive",
"type": "accordion",
"industry": "fitness",
"style": "dark-modern-saas",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Clock, MapPin, Star } from 'lucide-react';
const FoodDeliveryAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --... | {
"id": "accordion-000006",
"category": "interactive",
"type": "accordion",
"industry": "food-delivery",
"style": "soft-claymorphism",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const HealthcareAccordion = () => {
const [openItem, setOpenItem] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenItem(openItem === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How do... | {
"id": "accordion-000018",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "swiss-grid",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const FoodDeliveryAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "How... | {
"id": "accordion-000024",
"category": "interactive",
"type": "accordion",
"industry": "food-delivery",
"style": "soft-claymorphism",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Shield, TrendingUp, Users, Lock, Clock } from 'lucide-react';
const CorporateTrustAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : inde... | {
"id": "accordion-000034",
"category": "interactive",
"type": "accordion",
"industry": "fintech",
"style": "corporate-trust",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Home, MapPin, Calendar, Users, DollarSign } from 'lucide-react';
const RealEstateAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : i... | {
"id": "accordion-000060",
"category": "interactive",
"type": "accordion",
"industry": "real-estate",
"style": "editorial-magazine",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Brain, Zap, Shield, Cpu, MessageCircle } from 'lucide-react';
interface AccordionItem {
id: string;
title: string;
content: string;
icon: JSX.Element;
}
const GlassmorphicAccordion = () => {
const [openId, setOpenId] = useState<string | null>(null);
... | {
"id": "accordion-000010",
"category": "interactive",
"type": "accordion",
"industry": "ai-tools",
"style": "glassmorphism",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, Code, Database, Settings, Zap } from 'lucide-react';
type AccordionItem = {
id: string;
title: string;
icon: React.ReactNode;
content: React.ReactNode;
};
export default function DeveloperAccordion() {
const [openId, setOpenId] = useState<string | null... | {
"id": "accordion-000040",
"category": "interactive",
"type": "accordion",
"industry": "developer-tools",
"style": "monochrome-accent",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const RealEstateAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
quest... | {
"id": "accordion-000064",
"category": "interactive",
"type": "accordion",
"industry": "real-estate",
"style": "monochrome-accent",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, ChevronUp } from 'lucide-react';
const Accordion = () => {
const [openItem, setOpenItem] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenItem(openItem === index ? null : index);
};
// --- demo data ---
const accordi... | {
"id": "accordion-000078",
"category": "interactive",
"type": "accordion",
"industry": "education",
"style": "editorial-magazine",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown } from 'lucide-react';
type AccordionItem = {
id: string;
title: string;
content: string;
};
export default function DeveloperToolsAccordion() {
const [openId, setOpenId] = useState<string | null>(null);
const toggleItem = (id: string) => {
setOpen... | {
"id": "accordion-000076",
"category": "interactive",
"type": "accordion",
"industry": "developer-tools",
"style": "minimal-apple",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const Accordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "How does AI... | {
"id": "accordion-000070",
"category": "interactive",
"type": "accordion",
"industry": "ai-tools",
"style": "dark-modern-saas",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const RealEstateAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "Prop... | {
"id": "accordion-000088",
"category": "interactive",
"type": "accordion",
"industry": "real-estate",
"style": "high-contrast-mono",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown, ChevronUp } from 'lucide-react';
const LegalAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
cons... | {
"id": "accordion-000072",
"category": "interactive",
"type": "accordion",
"industry": "legal",
"style": "corporate-trust",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
const ProductAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How does the... | {
"id": "accordion-000094",
"category": "interactive",
"type": "accordion",
"industry": "productivity",
"style": "soft-claymorphism",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
const DeveloperToolsAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const togglePanel = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
id: 1,
... | {
"id": "accordion-000066",
"category": "interactive",
"type": "accordion",
"industry": "developer-tools",
"style": "swiss-grid",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const Accordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "How does AI To... | {
"id": "accordion-000082",
"category": "interactive",
"type": "accordion",
"industry": "ai-tools",
"style": "futuristic-neon",
"theme": "light",
"source": "moe_h100"
} |
import { useState } from 'react';
import { ChevronDown } from 'lucide-react';
interface AccordionItem {
id: string;
question: string;
answer: string;
}
// --- demo data ---
const accordionData: AccordionItem[] = [
{
id: '1',
question: 'What amenities are included in the room rate?',
answer: 'All o... | {
"id": "accordion-000108",
"category": "interactive",
"type": "accordion",
"industry": "hospitality",
"style": "minimal-apple",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const TravelAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleAccordion = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question:... | {
"id": "accordion-000100",
"category": "interactive",
"type": "accordion",
"industry": "travel",
"style": "editorial-magazine",
"theme": "dark",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const FitnessAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
question: "Ho... | {
"id": "accordion-000092",
"category": "interactive",
"type": "accordion",
"industry": "fitness",
"style": "dark-modern-saas",
"theme": "dark",
"source": "moe_h100"
} |
import { useState } from 'react';
const CryptoAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const accordionItems = [
{
title: "What is block... | {
"id": "accordion-000084",
"category": "interactive",
"type": "accordion",
"industry": "crypto",
"style": "monochrome-accent",
"theme": "light",
"source": "moe_h100"
} |
import React, { useState } from 'react';
const HealthcareAccordion = () => {
const [openIndex, setOpenIndex] = useState<number | null>(null);
const toggleItem = (index: number) => {
setOpenIndex(openIndex === index ? null : index);
};
// --- demo data ---
const faqItems = [
{
question: "How d... | {
"id": "accordion-000068",
"category": "interactive",
"type": "accordion",
"industry": "healthcare",
"style": "soft-gradient-saas",
"theme": "dark",
"source": "moe_h100"
} |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 43