A design language by humans, for humans.
Configure the Sunbeam registry, then install:
# .npmrc
@sunbeam:registry=https://src.sunbeam.pt/api/packages/studio/npm/npm install @sunbeam/beam-uinpm install react react-dom react-router-dom zustand @ark-ui/react @pandacss/devimport { Shell } from "@sunbeam/beam-ui/components/shell/shell"
import { Button } from "@sunbeam/beam-ui/components/ui/button"
import { useTheme } from "@sunbeam/beam-ui/hooks/use-theme"
// Shell renders Header + Footer by default
function App() {
const { theme, toggle } = useTheme()
return (
<Shell>
<Button variant="primary">Get Started</Button>
</Shell>
)
}// panda.config.ts
import { defineConfig } from "@pandacss/dev"
import { beamPreset } from "@sunbeam/beam-ui/preset"
export default defineConfig({
presets: [beamPreset],
include: ["./src/**/*.tsx"],
jsxFramework: "react",
})packages/beam-ui/— Component library (@sunbeam/beam-ui)app/— Design language showcase site (live at design.sunbeam.pt)
cd app
npm install
npm run devThe showcase site runs at http://localhost:5173 and demonstrates every token, component, and layout in the design system.
cd app
npm run builddocker buildx build \
--builder sunbeam-remote \
--platform linux/amd64 \
-t src.sunbeam.pt/studio/beam-ui:latest \
-t src.sunbeam.pt/studio/beam-ui:<version> \
--push .sunbeam platform apply devtools --context productiongit add -A && git commit -m "feat: release description"
# Bump version in packages/beam-ui/package.json
git add packages/beam-ui/package.json
git commit -m "chore(release): bump @sunbeam/beam-ui to v<version>"
git tag -a v<version> -m "Release v<version> — summary"
git push origin mainline --tags
# Publish to Gitea npm registry
cd packages/beam-ui
npm publish- UI Components — 70+ components (Accordion, Badge, Button, Card, Charts, CodeBlock, CodeEditor, DiffViewer, Dialog, Kanban, MarkdownRenderer, NotificationCenter, Wizard, WorkItemList, and more)
- Shell Components — Shell, Header, Footer, Sidebar, RightRail, Breadcrumbs
- Layouts — DocsLayout, ApiLayout, FullwidthLayout, CreatorsLayout
- Hooks — useTheme (light/dark mode with cross-domain cookie)
- Data — Navigation types, status vocabularies, default structures
- Preset —
beamPresetfor Panda CSS (tokens, semantic tokens, text styles)
MIT — Sunbeam Studios