PartyMemberFull vs PartyMemberCompact

These components render an actor from the current party in either a detailed card (PartyMemberFull) or a minimal row (PartyMemberCompact). Both are reactive (MobX) and update live as HP/MP change.

PartyMember – compact row
PartyMember – full card

Files

  • menus/src/components/PartyMemberFull.tsx

  • menus/src/components/PartyMemberCompact.tsx

  • Props type: menus/src/util/PartyMemberProps.ts

Props (PartyMemberProps)

  • member: any — the RPG Maker actor object (from gameParty.members())

  • selected: boolean — whether this row/card is currently selected (affects highlight)

  • Inherits BaseMenuScreenProps (unused in render but may be passed through)

Minimal usage with Chooser

Switching to the full card

Styling

  • Both components use Tailwind‑style utility classes in this template; feel free to add a wrapper div to control layout.

  • selected typically toggles background/outline. Keep it visually strong for controller users.

See also

Last updated