millaistudio

MListItem

Navigation

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>
  );
}

Dependencies

More by millaistudio

View all
  • M Button

    M Button

  • MBadge

    MBadge

  • MCard

    MCard

More in Navigation

View all
  • Sidebar

    Sidebar

    258
  • Oversized 404 Numeral

    Oversized 404 Numeral

    54
  • Tabs

    Tabs

    62
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    44
  • Footer 2

    Footer 2

    206
  • Footer

    Footer

    80
  • Breadrcrumb

    Breadrcrumb

    7
  • NavBar

    NavBar