Block 225 of 297
Collection Highlights
Salon-hung artworks with true museum wall labels: artist, italic title, medium, dimensions, credit line, accession.
- Puck key
- CollectionHighlightsBlock
- Export
- collectionHighlightsBlock
- React component
- <CollectionHighlights />
- Path
- components/puck/collection-highlights-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
Selected artworks from a permanent collection, each matted on white with a full wall label: artist, nationality and dates, italic title and date, medium, dimensions, credit line and accession number. Choose a salon hang that keeps every image at its true proportions in staggered columns, or even rows cropped to one shape. Three columns on desktop, two on tablets, one on phones.
- A museum home page "From the collection" section
- A curator's picks or new acquisitions page
- A collection overview that links into the online database
Writing the content
- Choose Hang based on your images: Salon (uncropped) for mixed paintings, objects and photographs; Even rows when all images share a similar shape, since it crops to 4:5.
- Write Image alt text that describes what the work shows, such as color, subject and material, not just the title, which is already on the label.
- Wrap one word of the Heading in *asterisks* to set it in the indigo italic accent. Artworks takes up to 12.
Accessibility
- Each artwork title is a heading one level below the Heading level setting and is marked up as a cite element (WCAG 1.3.1).
- "View in collection" links add the work's title for screen readers, are at least 44px tall, and the arrow motion is disabled for reduced-motion users.
Customizing the code
- The salon hang uses CSS columns (columns-1 sm:columns-2 lg:columns-3); the even hang uses a grid with aspect-4/5. Change either set of classes for a different column count or crop.
Editor fields
What content editors see in the P1 sidebar when they select this block.
- Eyebrowtext
- Headingtext
- Heading levelselect
- Introtextarea
- Hangradio
- Artwork link texttext
- Collection link texttext
- Collection linktext
- Artworksarray