Block 187 of 297
Application Timeline
Grant cycle steps from letter of inquiry to payment with dates, completed steps and the current step marked.
- Puck key
- ApplicationTimelineBlock
- Export
- applicationTimelineBlock
- React component
- <ApplicationTimeline />
- Path
- components/puck/application-timeline-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 grant cycle timeline from letter of inquiry to payment, with a date and short description for each step. The current step is marked in text and with aria-current, and earlier steps show as completed. Steps stack vertically with a connecting line on phones, form two columns on tablets, and sit in one row on wide screens when there are up to six.
- A "How to apply" page for a competitive grant cycle
- A scholarship or fellowship selection calendar
- A procurement or RFP process overview
Writing the content
- Set Current step to the step number the cycle is on, counting from 1; use 0 before the cycle opens.
- Enter Date as YYYY-MM-DD where a step has a fixed date. Use Date text for ranges like "February–March" or "Within 30 days".
- Use two to eight steps. Six fit in one row on wide screens; seven or eight wrap into rows of four.
- Fill in Cycle label, like "Spring 2027 grant cycle"; it shows above the steps and names the list for screen readers.
Accessibility
- Steps are an ordered list labelled by Cycle label, and the current step carries aria-current="step" (WCAG 1.3.1).
- State is written out ("Completed", "Current step", or "Step 3, upcoming") so the filled and ringed circles are not the only cue (WCAG 1.4.1).
- Fixed dates are wrapped in a time element, and step titles are headings below the section heading.
Customizing the code
- Column counts come from the wide and lgCols constants; the circle styles per state are in the span className.
- The indigo-600 connector and circles mark completed steps; change them together.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Cycle labeltext
- Stepsarray
- Current stepnumber
- Notetextarea
- Button texttext
- Button linktext