Block 68 of 297
Records Request
Public records request with requester, records description, date range, format and delivery, and a fee acknowledgement.
- Puck key
- RecordsRequestBlock
- Export
- recordsRequestBlock
- React component
- <RecordsRequest />
- Path
- components/puck/records-request-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 public records request form with requester details, an optional department menu, a records description, an optional date range, format and delivery choices, and a fee acknowledgement. A "what to expect" sidebar beside it lists response times, fees and the records officer's contact, and stays in view on desktop. On phones the sidebar follows the form.
- A city or county open records or FOIA request page
- A school district or public authority records portal
- A police or planning department page that routes requests to a custodian
Writing the content
- Fill in Timeline and fees from your state's open-records law and your fee schedule, not the sample figures.
- The first of your Departments is preselected, so make it a "Not sure, route it for me" option.
- Write the Fee acknowledgement plainly; leaving it blank removes the required checkbox.
- Format and delivery choices and their fee notes are fixed in code. Edit them if your office differs.
Accessibility
- Each group is a fieldset with a visible legend, and format options are full-row radio cards with a short description under each label.
- The description and date-range hints are linked with aria-describedby, and optional fields say so in their labels.
- The sidebar is an aside labelled by its heading, its facts are a description list, and the officer email is a mailto link.
Customizing the code
- FORMATS and DELIVERY arrays at the top of the file hold the choice lists and their notes.
- The sidebar's top accent is border-t-4 border-indigo-600 on a neutral-50 panel.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Headingtext
- Heading levelselect
- Introtextarea
- Form action URLtext
- Departmentsarray
- Fee acknowledgementtextarea
- Button texttext
- Sidebar headingtext
- Timeline and feesarray
- Sidebar notetextarea
- Records officertext
- Officer emailtext