About
A tappable or linkable row for grouped settings-style lists, with an optional leading icon, title, description, trailing content and disclosure chevron; ported faithfully to React from Millai UI's Vue MListItem component.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds MListItem to your project and fits it to your theme.
Code
How MListItem is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import MListItem from "@/components/ui/mlist-item";
export default function MListItemDemo() {
return (
<div className="flex w-full justify-center p-10">
<ul
className="m-list m-list--grouped"
role="list"
style={{ width: "100%", maxWidth: 360 }}
>
<MListItem chevron href="/account" description="Profile and security">
Account
</MListItem>
<MListItem interactive onClick={() => alert("Signed out")}>
Log out
</MListItem>
</ul>
</div>
);
}











