Skip to content

Block 148 of 297

Quick Tasks

An "I want to…" grid of top online services with large tap-friendly tiles and an optional site search.

Puck key
QuickTasksBlock
Export
quickTasksBlock
React component
<QuickTasks />
Path
components/puck/quick-tasks-block.tsx
Dependencies
None
License
MIT

About this block

When to use it, how to write for it, and what to change in the code.

What it's for

An "I want to…" grid of a city's most-requested tasks, such as paying a bill or reporting a pothole, with an optional site search beside the heading. Each tile is one large tap target with an icon, label and short description. Tiles run four across on desktop and two on tablets, and become full-width rows on phones.

  • The top of a city or county home page, under the main banner
  • A department landing page, such as utilities or public works
  • A resident services hub that needs search and shortcuts together
Writing the content
  • Start each Task with a verb, like "Pay a water bill", and keep the Short description under ten words.
  • Order tasks by how often residents need them. Eight fill two desktop rows.
  • Fill Search page URL to show the search box, and set Search query name to the parameter your search page reads, usually q.
  • Use Search example text for a short example only; it vanishes as people type, so put instructions in the Search label.
Accessibility
  • The search form has the search landmark role and a visible label tied to its input, and the box and button are at least 48px tall (WCAG 1.3.1).
  • Task labels are headings one level below the block heading, and each linked label stretches over its tile, with the focus outline drawn around the tile.
  • The tile lift and arrow nudge on hover run only under motion-safe, so reduced-motion visitors don't see them.
Customizing the code
  • Tiles and the search button use Tailwind indigo-700; change lg:grid-cols-4 on the list for a different desktop column count.

Editor fields

What content editors see in the P1 sidebar when they select this block.

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Search page URLtext
  • Search query nametext
  • Search labeltext
  • Search example texttext
  • Tasksarray