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
  • Tab Bar Item

    Tab Bar Item

    1
  • MCheckbox

    MCheckbox

    1
  • M Button

    M Button

  • MBadge

    MBadge

  • MCard

    MCard

  • Side Panel Item

    Side Panel Item

  • MText Input

    MText Input

  • Navigation View

    Navigation View

More in Navigation

View all
  • Sidebar

    Sidebar

    286
  • Navbar

    Navbar

    1
  • Tabs

    Tabs

    15
  • Sidebar

    Sidebar

    348
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Pagination

    Pagination

    108
  • Oversized 404 Numeral

    Oversized 404 Numeral

    57
  • Breadrcrumb

    Breadrcrumb

    4