The Forge stack explained
Alloy builds on ForgeStack, a family of open libraries for React apps. Knowing what each one does makes the generated code easy to read and extend.
| Library | What it does | You will see it as |
|---|---|---|
| Bear | UI components: buttons, cards, forms, modals, layout, 100+ more | <Button>, <Card>, <TextField> |
| GridTable | Data tables with sorting, filters and pagination | Price lists, schedules, admin tables |
| Compass | Routing for React (pages, params, links) | <Link to="/about">, useParams() |
| Synapse | Lightweight state (nuclei) shared across components | useNucleus(store, selector) |
| Forge Query | Data fetching with caching and retries | Hooks that load and cache API data |
| Forge Form | Forms with validation and typed values | Booking and contact forms with validation |
| Lingo | Translations, plurals and right-to-left | const { t } = useLingo() |
Why Bear components everywhere
Alloy never writes raw <div> soup. Every visible element is a Bear component, so spacing, colors, dark mode and accessibility come from one place. Changing the theme changes the whole site.
A typical generated section
import { Card, Button } from '@forgedevstack/bear';
import { useLingo } from '@forgedevstack/lingo';
import { Stack, Heading, Text } from '@components/commons';
export const Services = () => {
const { t } = useLingo();
return (
<Stack gap={4}>
<Heading level={2}>{t('services.title')}</Heading>
<Card padding="lg">
<Text>{t('services.walk')}</Text>
<Button variant="primary">{t('services.book')}</Button>
</Card>
</Stack>
);
};Learn more
- Bear UI documentation · Every component with live examples.
- ForgeStack · Compass, Synapse, Forge Query, Forge Form, Lingo and more.