Skip to content

Create news component #287

@maxatdetroit

Description

@maxatdetroit

News Component

The goal of this task is to create a news component in the stable build of the design system.

Mockups

The full mockups can be viewed in Figma: https://www.figma.com/design/1eNREu4goozzabiuUhXvpS/detroitmi.gov-redesign?node-id=35-2393&t=FgpYMyZiFD6ry3yt-1

Mobile

Image

Desktop

Image

Requirements

  • Minimum width of the component should be 340px. Otherwise, the component width should grow to fill its container.
  • For exact typography styling specs, inspect the Figma mockup linked above.
  • The date of the news should be an attribute on the element and the expected value should be formatted as ISO 8601.
  • The tags of the new should be a slotted tag component (see Create tag component #285)
  • Follow the best practices for attributes and slots described in Document best practices in contributing docs #201.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions