Content
ProjectList
Compact list of further projects with name, task and meta, the rest behind one button.
- Experimental
- Keyboard tested
- Screen reader not tested yet
Playground
Change the props. The controls come from the documented props.
- OTTORelaunch of the OTTO appConcept & UI · 2020
- StepStoneEvolution of the job portalConcept & UI · 2020
<ProjectList
label="Playground projects"
projects={[
{ name: "OTTO", task: "Relaunch of the OTTO app", meta: "Concept & UI · 2020" },
{
name: "StepStone",
task: "Evolution of the job portal",
meta: "Concept & UI · 2020",
},
]}
/>Usage
When to use
Use a project list for further projects below the featured cases: many entries, one line each.
When not to use
- For the main cases: use CaseTeaser.
- For further projects shown as cards with tag and title, as on free-lenz.net: use ProjectCard.
- For data people sort or compare: use Table.
How it works
Each row shows the name, the task and the meta (role · year · via). The first visible projects show, the rest sit behind one button that reports its state. Expanding moves focus to the first new project.
Content guidelines
Task in one line, starting with the noun (“Relaunch of the OTTO app”). Keep the meta in the same order in every row.
Do and don’t
Do
- Keep the task to one line and the meta in the same order for every row: role · year · via.
Don’t
- Don't hide the strongest projects behind the button; order by relevance.
Anatomy
The parts of the component and what each one does, as in the playground above.
- containerList with hairlines between rows.
- titleProject name, semibold.
- bodyThe task in one line.
- metaRole, year and channel, right-aligned from medium screens.
- more-buttonSecondary button with aria-expanded.
Examples
Type-checked, and the same code goes into the AI manifest. Import: import { ProjectList } from "@/ds";
More projects
- OTTORelaunch of the OTTO appConcept & UI · 2020
- StepStoneEvolution of the job portalConcept & UI · 2020
- Mitsubishi ElectricEvolving the Aircon product lineConcept & UI · 2022 · via adesso SE
Props
Checked against the component's TypeScript type on every build.
| Name | Type | Default | Description |
|---|---|---|---|
| label (required) | string | – | Names the list for screen readers. |
| projects (required) | Project[] | – | name, task and optional meta per project. |
| visible | number | 3 | Projects shown before the button. |
| moreLabel | (hidden: number) => string | – | Label of the expand button. |
| lessLabel | string | "Show fewer projects" | Label of the button when expanded. |
Tokens used
Derived from the utility classes in the component's source. Copy a class with one click.
| Token | Tier | Value | Utility |
|---|---|---|---|
| border.hairline | semantic | rgba(10,10,11,0.08) | |
| spacing.1 | semantic | 4px | |
| spacing.4 | semantic | 16px | |
| spacing.6 | semantic | 24px | |
| surface.subtle | semantic | #E7E3DA | |
| text.primary | semantic | #0A0A0B | |
| text.secondary | semantic | #555555 | |
| type.small.size | semantic | 14px | |
| weight.semibold | semantic | 600 |
Accessibility
What is checked automatically on every build, and what a person has tested. Nothing is marked as tested unless it was.
| Check | How | Status |
|---|---|---|
| axe-core rules | Automated on every npm run check, at desktop and mobile width | Runs on every build |
| Keyboard | Automated Playwright test (scripts/keyboard.mjs) | Tested |
| Screen reader | Manual | Not tested yet |
Keyboard
| Key | Action |
|---|---|
| Enter / Space | On the button: shows or hides the further projects. |
Semantics and focus
- The button reports aria-expanded and controls the list.
- Expanding moves focus to the first newly shown project, so keyboard and screen reader users continue there.
Contrast
| Pairing | Ratio (x:1) | Minimum | Status |
|---|---|---|---|
| text.primary on surface.subtle | 15.45 | 4.5 | Pass |
| text.secondary on surface.subtle | 5.82 | 4.5 | Pass |