RobloxUIRobloxUI
BrowseDocsPricingSubmit
/
/
RobloxUIRobloxUI — Roblox UI Components Marketplace
DocsSitemapTermsPrivacyCookiesSettingsPerformance
Ability Hotbar — RobloxUI
  1. Home
  2. /
  3. Combat
  4. /
  5. Ability Hotbar
Booting Luau VM…

Install with the CLI

Add Ability Hotbar to your Roblox project in one command. Requires Node 18+ and a Roblox project — run robloxui init first if you don't have one yet. See the docs.

bashnpx robloxui add ability-hotbar

First time? Start with the documentation.

Import

tsx
import { Ability Hotbar } from "./src/client/ui/components/ability-hotbar";

Usage

tsx
local AbilityService = require(script.Parent.AbilityService)
AbilityService:Register({ id = "fireball", name = "Fireball", icon = "rbxassetid://0", cooldown = 4 })
AbilityService:Bind(1, "fireball")
-- press 1 or click the slot

Ability Hotbar

TSX + LuauFree

Keybound ability bar with per-slot cooldowns. AbilityService registers abilities (icon + cooldown), binds them to numbered slots, validates readiness, and exposes Remaining() for arcs. Hotbar renders slots with keybind badges + a shrinking dark cooldown overlay, and wires number-key input via UserInputService. Works for both click and keypress.

by RobloxUI Team

View Source

Details

AuthorRobloxUI Team
FrameworkRoblox-TS + React-Luau
CategoryCombat
Dependencies@rbxts/react
Theme Tokens
colors.primary, colors.primaryLight, colors.primaryDark, colors.secondary, colors.secondaryLight, colors.secondaryDark, colors.accent, colors.accentLight, colors.accentDark, colors.bg, colors.bgSecondary, colors.bgTertiary, colors.surface, colors.border, colors.borderLight, colors.glow, colors.text, colors.textPrimary, colors.textSecondary, colors.textMuted, colors.success, colors.successLight, colors.error, colors.errorLight, colors.warning, colors.info, colors.gold, colors.goldLight, gradients.primary, gradients.gold, gradients.health, gradients.mana, gradients.purple, gradients.card, gradients.surface, gradients.surfaceLight, spacing.3xs, spacing.2xs, spacing.xs, spacing.sm, spacing.md, spacing.lg, spacing.xl, radius.sm, radius.md, radius.lg, radius.xl
Last UpdatedJuly 31, 2026