Add Secondary Button 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 secondary-buttonFirst time? Start with the documentation.
import { Secondary Button } from "./src/client/ui/components/secondary-button";<SecondaryButton text="Cancel" onClick={() => print("Cancelled!")} />An outlined button for secondary or supporting actions. Matches the visual hierarchy of the primary button with a subtle border style.
by RobloxUI Team
| Author | RobloxUI Team |
| Framework | Roblox-TS + React-Luau |
| Category | Buttons |
| Dependencies | @rbxts/react |
| Theme Tokens | colors.bgSecondary, colors.border, colors.textPrimary, spacing.sm, spacing.md, radius.md |
| Last Updated | July 31, 2026 |