Skip to content

Block 183 of 297

Grant Opportunities

Open funding cycles sorted by deadline, with focus area, award range, labeled cycle status, eligibility and RFP links.

Puck key
GrantOpportunitiesBlock
Export
grantOpportunitiesBlock
React component
<GrantOpportunities />
Path
components/puck/grant-opportunities-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

A ruled list of grant cycles, sorted by deadline date, soonest first. Each row pairs a large calendar-style date and a status badge with the program name, focus area and eligibility summary, then the award range and apply and RFP links. On phones the date and badge sit in a line above the details. It suits a foundation's open funding page.

  • A community foundation's current grant cycles page
  • A corporate giving program's funding calendar
  • A government grants office listing open solicitations
Writing the content
  • Enter Deadline date as YYYY-MM-DD; it drives the sort order and the calendar display. Items without a valid date go last.
  • Sorting ignores status, so a closed cycle with an earlier date lists first. Remove expired cycles, or clear their date to move them to the end.
  • Use Deadline text for wording like "Rolling" or "March 1 at 5 p.m."; it replaces the calendar display with plain text.
  • Setting Cycle status to Closed hides the apply button and dims the row. Keep Eligibility summary to one or two sentences. Up to 20 cycles fit.
Accessibility
  • Status is a labelled badge (Open, Opening soon, Closed) with a hidden "Status:" prefix; the colored dot is decorative (WCAG 1.4.1).
  • Apply and RFP links append the program name for screen readers (WCAG 2.4.4), and program names are headings below the section heading.
Customizing the code
  • Badge colors are in statusMeta; date formatting uses the longDate and monthShort Intl formatters, which you can localize.
  • The three-part row uses sm:grid-cols-12 with lg:col-span-2, 6 and 4; adjust those spans to rebalance.

Editor fields

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

  • Eyebrowtext
  • Headingtext
  • Heading levelselect
  • Introtextarea
  • Opportunitiesarray
  • Footnotetextarea
  • Button texttext
  • Button linktext