Content Blocks
RPG Select
RPG selection pricing section with game UI aesthetics.
pricingrpggameui
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
title | string | Select Your Class | Section title text. |
roles | Array<{name: string, price: number, image?: string, speed?: number, power?: number}> | [] | Array of pricing roles with name, price, optional image, speed, and power stats. |
backgroundColor | string | #2d2a32 | Background color (hex, rgb, or hsl). |
titleColor | string | #ffd700 | Title text color. |
activeBorderColor | string | #ffd700 | Active role border color. |
activeBgColor | string | #3d3a42 | Active role background color. |
inactiveBorderColor | string | #4a4a52 | Inactive role border color. |
inactiveBgColor | string | #1e1c21 | Inactive role background color. |
inactiveHoverBgColor | string | #2a2830 | Inactive role hover background color. |
roleNameColor | string | #ffffff | Role name text color. |
activeRoleNameColor | string | #ffd700 | Active role name text color. |
priceColor | string | #ffffff | Price text color. |
priceSubtextColor | string | #9ca3af | Price subtext color. |
statLabelColor | string | #ffffff | Stat label text color. |
statBarBgColor | string | rgba(0,0,0,0.5) | Stat bar background color. |
speedBarColor | string | #3b82f6 | Speed stat bar color. |
powerBarColor | string | #ef4444 | Power stat bar color. |
buttonBgColor | string | #ffd700 | Button background color. |
buttonTextColor | string | #000000 | Button text color. |
buttonHoverBgColor | string | #ffffff | Button hover background color. |
buttonText | string | Equip | Button text. |