Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Open more actions menu

Repository files navigation

FoundationWeb

FoundationWeb (Roblox/foundation-web, formerly known as Portal) is Roblox's Tailwind CSS-based UI library for web, wrapping and restyling Radix UI primitives with Roblox's design system. It's owned by Creator Resources Foundation.

Packages

@rbx/foundation-tailwind

Roblox Foundation design tokens and utilities for Tailwind CSS.

@rbx/foundation-tailwind is a Tailwind CSS v3 preset that maps Foundation design tokens to semantic utilities for layout, color, typography, spacing, borders, responsive breakpoints, and icons. It also includes generated TypeScript class-name unions for code that builds class names dynamically.

Installation

pnpm add @rbx/foundation-tailwind tailwindcss

See packages/foundation-tailwind/README.md for the full setup guide, feature list, and API reference.

@rbx/foundation-ui

Roblox Foundation React UI framework.

@rbx/foundation-ui is the React component library for web, built on Radix UI and styled with Foundation design tokens and the utilities from @rbx/foundation-tailwind.

Notice: This documentation came from a tree-shaken source and may not include all available components.

Installation

pnpm add @rbx/foundation-ui @rbx/foundation-tailwind tailwindcss react

See packages/foundation-ui/README.md for component usage, accessibility guidance, and package-specific conventions.

Key Links

Getting Started

git clone github.rbx.com/Roblox/foundation-web
cd foundation-web
pnpm install

See CONTRIBUTING.md for branch naming, commit format, and the PR workflow.

Scripts

pnpm build         # build all packages
pnpm build:clean   # remove all packages' dist/
pnpm lint          # lint all packages
pnpm test          # test all packages
pnpm changeset     # record a change for release notes/versioning

Workspace structure

Development

The repository uses pnpm workspaces. To work on the packages locally:

pnpm install
pnpm --filter @rbx/foundation-tailwind build
pnpm --filter @rbx/foundation-ui build

Each package README includes the package-specific build commands and usage examples.

About

FoundationWeb Tailwind Radix UI Wrapper

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.