list/01-basic-list
A recent projects panel — placeholder icons and titles ending in a Button to view all.
Loading interactive preview
import { List } from 'ui-lab-components/list'
const projects = [
{ id: "design-system", title: "Design system audit" },
{ id: "onboarding", title: "Onboarding flow" },
{ id: "billing", title: "Billing dashboard" },
];
export default function BasicList() {
return (
<div className="flex flex-col gap-4 rounded-sm">
<List aria-label="Recent projects">
<List.Header>
<h2>Projects</h2>
</List.Header>
{projects.map((project) => (
<List.Item key={project.id} value={project.id} interactive>
<List.Title>{project.title}</List.Title>
</List.Item>
))}
</List>
</div>
);
}