RRobloxUI
BrowseThemeSubmit
RRobloxUI β€” Roblox UI Components Marketplace
Theme ReferencePrivacy
Minimap HUD β€” RobloxUI
  1. Home
  2. /
  3. HUDs
  4. /
  5. Minimap HUD
Live Previewrunning real Luau in your browser
Booting Luau VM…
Preview of Minimap HUD β€” executed via in-browser Luau VM (wasmoon)

Minimap HUD

TSX + LuauFree

A circular minimap display with player position indicator, compass points, and zoom controls for navigation in large game worlds.

Details

AuthorRobloxUI Team
FrameworkRoblox-TS + React-Luau
CategoryHUDs
Dependencies@rbxts/react, @robloxui/theme
Theme Tokenscolors.bgSecondary, colors.border, colors.textPrimary, colors.accent
Last UpdatedJuly 22, 2026
import React from "@rbxts/react";
import { useTheme } from "@robloxui/theme";

interface MinimapHUDProps {
  size?: number;
}

export function MinimapHUD({ size = 200 }: MinimapHUDProps) {
  const { colors } = useTheme();

  return (
    <frame BackgroundColor3={colors.bgSecondary} Size={new UDim2(0, size, 0, size)}>
      <uicorner CornerRadius={new UDim(1, 0)} />
      <uistroke Thickness={2} Color={colors.border} />
      <textlabel
        Text={"N"}
        TextColor3={colors.textPrimary}
        BackgroundTransparency={1}
        Size={new UDim2(1, 0, 0, 20)}
        TextXAlignment={"Center"}
        TextYAlignment={"Top"}
      />
      <imagelabel
        Image={"rbxassetid://minimap-center-dot"}
        Size={new UDim2(0, 10, 0, 10)}
        Position={new UDim2(0.5, 0, 0.5, 0)}
        AnchorPoint={new Vector2(0.5, 0.5)}
        BackgroundTransparency={1}
        ImageColor3={colors.accent}
      />
    </frame>
  );
}