1 GitHub star = 1 new component.

Star the repo
Agency & Marketing

Agency Services List

Numbered, expandable service rows: big names, pitch, deliverable chips, timeline and "from" price.

servicesaccordionagencypricing
Live Preview

What we do

Services that move the needle

Brand identity

from โ‚ฌ18k

Positioning, naming, logo systems and guidelines that make you unmistakable.

  • Strategy workshop
  • Visual identity
  • Brand book
  • Launch kit

Timeline ยท 6โ€“8 weeks

Websites

from โ‚ฌ24k

Fast, accessible React sites with a CMS your team will actually enjoy.

  • UX & content
  • Design system
  • React build
  • CMS & analytics

Timeline ยท 8โ€“12 weeks

Growth marketing

from โ‚ฌ6k / mo

Performance campaigns, SEO and CRO run by people who read the numbers.

  • Paid social
  • SEO
  • A/B testing
  • Monthly reporting

Timeline ยท Monthly

Content & social

from โ‚ฌ4k / mo

Always-on content engines: shoots, short video, copy and community.

  • Editorial calendar
  • Production
  • Community

Timeline ยท Monthly

Usage

Copy and paste this code into your React component:

tsx
import { AgencyServicesList } from 'react-component-kit-ui/sections';

<AgencyServicesList services={[{ name: 'SEO', pitch: 'Traffic you do not pay for.', deliverables: ['Audit', 'Content'], timeline: 'Monthly', from: 'โ‚ฌ1,500 / mo' }]} />

Manual Installation

If you are not using the npm package, create a new file and paste the following code: src/components/sections/AgencyServicesList.tsx + AgencyServicesList.css:

AgencyServicesList.tsx
'use client';

import { useEffect, useRef } from 'react';
import './AgencyServicesList.css';

/** class:list โ†’ className */
function cx(...args: unknown[]): string {
  const out: string[] = [];
  const walk = (v: unknown) => {
    if (!v) return;
    if (typeof v === 'string' || typeof v === 'number') out.push(String(v));
    else if (Array.isArray(v)) v.forEach(walk);
    else if (typeof v === 'object') for (const [k, on] of Object.entries(v as Record<string, unknown>)) if (on) out.push(k);
  };
  args.forEach(walk);
  return out.join(' ');
}

interface Service { name: string; pitch: string; deliverables?: string[]; timeline?: string; from?: string; href?: string }

/**
 * AgencyServicesList โ€” Numbered, expandable service rows: big service names, short pitch,
 * deliverable chips, typical timeline and "from" price, with a hover/focus reveal.
 *
 * @param {string} eyebrow - Small label. Default 'What we do'.
 * @param {string} title - Section heading. Default 'Services that move the needle'.
 * @param {Array<{name: string, pitch: string, deliverables?: string[], timeline?: string, from?: string, href?: string}>} services - Rows.
 * @param {number} open - Index opened by default (-1 for none). Default 0.
 * @param {boolean} exclusive - Opening one row closes the others. Default true.
 * @param {string} variant - Style (lines|cards). Default 'lines'.
 * @param {string} className - Extra class.
 *
 * Accessibility: native <details>/<summary> rows (keyboard and screen-reader friendly); each row
 * has a heading; the decorative number and arrow are aria-hidden.
 */
export interface AgencyServicesListProps {
  eyebrow?: string;
  title?: string;
  services?: Service[];
  open?: number;
  exclusive?: boolean;
  variant?: 'lines' | 'cards';
  className?: string;
}

export function AgencyServicesList({
  eyebrow = 'What we do',
  title = 'Services that move the needle',
  services = [
    { name: 'Brand identity', pitch: 'Positioning, naming, logo systems and guidelines that make you unmistakable.', deliverables: ['Strategy workshop', 'Visual identity', 'Brand book', 'Launch kit'], timeline: '6โ€“8 weeks', from: 'โ‚ฌ18k' },
    { name: 'Websites', pitch: 'Fast, accessible React sites with a CMS your team will actually enjoy.', deliverables: ['UX & content', 'Design system', 'React build', 'CMS & analytics'], timeline: '8โ€“12 weeks', from: 'โ‚ฌ24k' },
    { name: 'Growth marketing', pitch: 'Performance campaigns, SEO and CRO run by people who read the numbers.', deliverables: ['Paid social', 'SEO', 'A/B testing', 'Monthly reporting'], timeline: 'Monthly', from: 'โ‚ฌ6k / mo' },
    { name: 'Content & social', pitch: 'Always-on content engines: shoots, short video, copy and community.', deliverables: ['Editorial calendar', 'Production', 'Community'], timeline: 'Monthly', from: 'โ‚ฌ4k / mo' },
  ],
  open = 0,
  exclusive = true,
  variant = 'lines',
  className = '',
}: AgencyServicesListProps) {

  // Client-side behaviour: runs once after mount.
  const mounted = useRef(false);
  useEffect(() => {
    if (mounted.current) return;
    mounted.current = true;
    document.querySelectorAll<HTMLElement>('[data-services][data-exclusive]:not([data-bound])').forEach((root) => {
        root.dataset.bound = '';
        const rows = Array.from(root.querySelectorAll<HTMLDetailsElement>('details'));
        rows.forEach((d) => d.addEventListener('toggle', () => { if (d.open) rows.forEach((o) => { if (o !== d) o.open = false; }); }));
      });
    // eslint-disable-next-line react-hooks/exhaustive-deps
  }, []);

  return (
    <>
      <div className="cq-agency-services" data-rk-773b38="">
      <section className={cx(['asl', `asl--${variant}`, className])} aria-labelledby="asl-title" data-services data-exclusive={exclusive ? '' : undefined} data-rk-773b38="">
        <header className="asl__head" data-rk-773b38="">
          <p className="asl__eyebrow" data-rk-773b38="">{eyebrow}</p>
          <h2 className="asl__title" id="asl-title" data-rk-773b38="">{title}</h2>
        </header>
        <div className="asl__list" data-rk-773b38="">
          {services.map((s, i) => (
            <details key={i} className="asl__row" open={i === open} data-rk-773b38="">
              <summary className="asl__summary" data-rk-773b38="">
                <span className="asl__num" aria-hidden="true" data-rk-773b38="">{String(i + 1).padStart(2, '0')}</span>
                <h3 className="asl__name" data-rk-773b38="">{s.name}</h3>
                {s.from && <span className="asl__from" data-rk-773b38="">from {s.from}</span>}
                <span className="asl__arrow" aria-hidden="true" data-rk-773b38="">โ†—</span>
              </summary>
              <div className="asl__body" data-rk-773b38="">
                <p className="asl__pitch" data-rk-773b38="">{s.pitch}</p>
                {s.deliverables && <ul className="asl__chips" data-rk-773b38="">{s.deliverables.map((d, __i: number) => <li key={__i} data-rk-773b38="">{d}</li>)}</ul>}
                <p className="asl__meta" data-rk-773b38="">{s.timeline && <span data-rk-773b38="">Timeline ยท <strong data-rk-773b38="">{s.timeline}</strong></span>}{s.href && <a href={s.href} data-rk-773b38="">Learn more โ†’</a>}</p>
              </div>
            </details>
          ))}
        </div>
      </section>
      </div>
    </>
  );
}

export default AgencyServicesList;
AgencyServicesList.css
.cq-agency-services:where([data-rk-773b38]) { container-type: inline-size; }
.asl:where([data-rk-773b38]) { color: var(--c-text-1, #fff); }
.asl__head:where([data-rk-773b38]) { display: grid; gap: var(--sp-2, 0.5rem); margin-bottom: var(--sp-6, 1.5rem); }
.asl__eyebrow:where([data-rk-773b38]) { margin: 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-text-2, #a3a3a3); }
.asl__title:where([data-rk-773b38]) { margin: 0; max-width: 18ch; font-size: clamp(2.2rem, 6cqi, 4.2rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.95; }
.asl__list:where([data-rk-773b38]) { border-top: 1.5px solid currentColor; }
.asl--cards:where([data-rk-773b38]) .asl__list:where([data-rk-773b38]) { display: grid; gap: var(--sp-3, 0.75rem); border: 0; }
.asl__row:where([data-rk-773b38]) { border-bottom: 1.5px solid var(--c-border, rgba(255, 255, 255, 0.15)); }
.asl--cards:where([data-rk-773b38]) .asl__row:where([data-rk-773b38]) { border: 1px solid var(--c-border, rgba(255, 255, 255, 0.12)); border-radius: 24px; padding: 0 var(--sp-5, 1.25rem); }
.asl__summary:where([data-rk-773b38]) { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 48px; align-items: center; gap: var(--sp-4, 1rem); min-height: 96px; cursor: pointer; list-style: none; }
.asl__summary:where([data-rk-773b38])::-webkit-details-marker { display: none; }
.asl__summary:focus-visible:where([data-rk-773b38]) { outline: 2px solid var(--agency-accent, var(--c-primary-light, #d4a017)); outline-offset: 4px; border-radius: 12px; }
.asl__num:where([data-rk-773b38]) { font-size: 0.85rem; font-weight: 700; color: var(--c-text-3, #737373); font-variant-numeric: tabular-nums; }
.asl__name:where([data-rk-773b38]) { margin: 0; font-size: clamp(1.6rem, 4.4cqi, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.asl__summary:hover:where([data-rk-773b38]) .asl__name:where([data-rk-773b38]) { transform: translateX(10px); }
.asl__from:where([data-rk-773b38]) { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c-border, rgba(255, 255, 255, 0.2)); font-size: 0.82rem; font-weight: 700; color: var(--c-text-2, #a3a3a3); white-space: nowrap; }
.asl__arrow:where([data-rk-773b38]) { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 1.1rem; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.asl__row[open]:where([data-rk-773b38]) .asl__arrow:where([data-rk-773b38]) { transform: rotate(90deg); background: var(--agency-accent, var(--c-primary-light, #d4a017)); color: var(--c-on-primary, #050505); border-color: transparent; }
.asl__body:where([data-rk-773b38]) { display: grid; gap: var(--sp-4, 1rem); padding: 0 0 var(--sp-6, 1.5rem) calc(56px + var(--sp-4, 1rem)); animation: agency-services-list-asl-in 0.35s ease-out; }
@keyframes agency-services-list-asl-in { from { opacity: 0; transform: translateY(-6px); } }
.asl__pitch:where([data-rk-773b38]) { margin: 0; max-width: 46rem; font-size: 1.1rem; line-height: 1.6; color: var(--c-text-2, #a3a3a3); }
.asl__chips:where([data-rk-773b38]) { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.asl__chips:where([data-rk-773b38]) li:where([data-rk-773b38]) { padding: 8px 14px; border-radius: 999px; background: rgb(var(--ink-rgb, 255 255 255) / 0.07); font-size: 0.85rem; font-weight: 600; }
.asl__meta:where([data-rk-773b38]) { display: flex; flex-wrap: wrap; gap: var(--sp-5, 1.25rem); margin: 0; font-size: 0.88rem; color: var(--c-text-2, #a3a3a3); }
.asl__meta:where([data-rk-773b38]) strong:where([data-rk-773b38]) { color: var(--c-text-1, #fff); }
.asl__meta:where([data-rk-773b38]) a:where([data-rk-773b38]) { color: var(--c-text-1, #fff); font-weight: 700; }

@container (max-width: 640px) {
  .asl__summary:where([data-rk-773b38]) { grid-template-columns: 36px minmax(0, 1fr) 44px; min-height: 80px; }
  .asl__from:where([data-rk-773b38]) { display: none; }
  .asl__arrow:where([data-rk-773b38]) { width: 44px; height: 44px; }
  .asl__body:where([data-rk-773b38]) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .asl__name:where([data-rk-773b38]), .asl__arrow:where([data-rk-773b38]), .asl__body:where([data-rk-773b38]) { transition: none; animation: none; } }