Description:
Webba Forge is a React UI component library for dashboards and settings pages.
It includes a set of motion components to handle card entrances and scroll reveals.
Preview

Features
- Light and dark palettes with shared tokens for color, spacing, and corner radii.
- Date and time inputs, searchable selects, and file upload controls.
- Modal dialogs, drawers, and feedback components such as toasts.
- Virtual lists and compact charts for data-heavy screens.
- Optional Claude Code and Cursor skill files with component APIs and layout examples.
Install Forge and set the app theme
Install Forge in your React project.
npm install wss3-forgeMount ForgeProvider around the app to supply the CSS variables its components use. Set mode to "light" or "dark", and pass token overrides such as brandPrimary in a flat theme object.
Import both stylesheets at the app entry.
import { Button, Card, ForgeProvider, Heading, VStack } from "wss3-forge";
import "wss3-forge/styles/animations.css";
import "wss3-forge/styles/motion.css";
export function BillingPanel() {
return (
<ForgeProvider mode="light" theme={{ brandPrimary: "#2459c4" }}>
<Card padding="lg">
<VStack gap="md">
<Heading level={2}>Billing details</Heading>
<Button variant="primary">Update billing</Button>
</VStack>
</Card>
</ForgeProvider>
);
}ForgeProvider and component props
| Prop | Effect |
|---|---|
ForgeProvider.mode, theme | Select the light or dark palette and override individual tokens with a flat object. For example, use brandPrimary for the accent and radiusMd for medium corner radii. |
ForgeProvider.fontFamily, shadows | Set the inherited font family. Keep preset shadows, disable them with false, or override individual elevations. |
ForgeProvider.motionScale, reducedMotion | Choose "subtle", "normal" (default), or "dramatic" for motion intensity. reducedMotion="auto" follows the system preference. |
Card.padding, variant | Set padding with "none" or a size from "xs" through "4xl". Variants include "raised", "subtle", "outlined", and "elevated". |
Card.title, subtitle, action | Add a heading, supporting text, or an action as { label, onClick }. |
Button.variant, size | Select the style and size, such as variant="primary" and size="sm". |
Button.loading, disabled, onClick | Show a pending state during a request and use the native button props for disabling the control and handling clicks. |
Button.icon, rightIcon, fullWidth | Place an icon before or after the label or stretch the control to the container width. |
Choose components for a screen
Mount ToastProvider for useToast() or NotificationProvider for useNotification(). To let users switch themes, store the active mode in your app and pass it to ForgeProvider.
| Category | Example components | Practical use |
|---|---|---|
| App layout and navigation | Page, AppSidebar, Navbar, Tabs, Breadcrumbs | Group settings pages or build a persistent sidebar. |
| Forms | Combobox, DateRangePicker, OTPInput, FileUpload | Filter a report by date or collect account details. |
| Overlays and feedback | Modal, BottomSheet, CommandBar, Toast, Skeleton | Confirm changes or show feedback after a save. |
| Data and charts | Table, VirtualList, TreeView, Sparkline, StackedBar | Show detailed records and place a trend chart beside each metric. |
Add motion to a card group
Place this group inside ForgeProvider. Stagger starts each card 80 ms after the previous one. Use Motion for an individual element with custom initial and animate values or RevealOnScroll for content that enters as the user scrolls.
import { Card, Stagger } from "wss3-forge";
export function UsageCards() {
return (
<Stagger stagger={80}>
<Card padding="lg">Active projects</Card>
<Card padding="lg">Team storage</Card>
</Stagger>
);
}| Stagger prop | Effect |
|---|---|
stagger, baseDelay | Time between children and delay before the first child, in milliseconds. The defaults are 60 and 0. |
direction | Pass "forward" (default), "reverse", "center", or "edges" to select the order. |
from, to, transition | Change the initial and final motion properties or share a transition across the group. |
Install the optional Claude Code skill
From the project root, install the optional /forge skill to give Claude Code the component API, theme tokens, and layout examples.
The command writes to .claude/skills/forge/. After updating the library, refresh that copy with npx wss3-forge upgrade.
npx wss3-forge initThe command writes to .claude/skills/forge/. After updating the library, refresh that copy with npx wss3-forge upgrade.