Block 109 of 297
Admissions Deadlines
Application rounds with deadline, decision release and a labeled open, closing soon or closed status.
- Puck key
- AdmissionsDeadlinesBlock
- Export
- admissionsDeadlinesBlock
- React component
- <AdmissionsDeadlines />
- Path
- components/puck/admissions-deadlines-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 list of application rounds, such as Early Action and Regular Decision, each showing a deadline, a decision date, a short note and a status pill reading Open, Closing soon or Closed. Closed rounds are dimmed with the deadline struck through. On desktop each round is one row; on phones it stacks into a card with the status beside the name.
- First-year and transfer admissions pages
- Graduate program application timelines
- Scholarship or fellowship cycles with several rounds
Writing the content
- Add 1 to 8 Application rounds in date order, earliest first.
- Status doesn't change on its own. Update it by hand as each deadline passes, or bind it to a data source.
- Fill Deadline (machine date) as YYYY-MM-DD when you can; it is ignored unless it matches that format.
- Use Fine print for the time zone and cutoff time, such as "11:59 p.m. Central Time".
Accessibility
- Status is written as text in each pill, so it doesn't depend on the green, amber or gray color (WCAG 1.4.1). The colored dot is hidden from screen readers.
- Rounds are an ordered list, round names are headings one level below the section heading, and deadline and decision dates are a description list.
- A valid machine date renders the deadline inside a time element. The strikethrough on closed rounds is visual only, so the Closed label does the real work.
Customizing the code
- Pill colors are in the statusStyles map (emerald, amber, neutral); edit there to change all rounds at once.
- The row grid splits sm:col-span-5, 5 and 2 for name, dates and status.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Application roundsarray
- Fine printtext
- Button texttext
- Button linktext
- Secondary link texttext
- Secondary linktext