Repository avatar
Other Tools
v0.1.0
active

flood

io.github.tillwithered/flood

Find Flood UI components, recipes, tokens, and design skills for coding agents.

Documentation

flood.md

An open-source design system for developers and coding agents. Flood ships original UI components, dark foundations, semantic tokens and versioned design guidance. The current implementation supports React 18.3 and 19 and Next.js App Router, with TypeScript declarations.

Component catalog · Charts · Documentation · Connect your agent · Releases

Quick start

In an existing React or Next.js project with Node.js 22.12+ and npm, install the latest published release.

npx @flood-md/cli init

The CLI installs matching versions of the component, token and agent packages. It adds project configuration and the Flood skill without overwriting existing files. Use init --dry-run to see the planned changes first. The main branch can include changes for the next release. Use the release tags to read the source and docs for an installed version.

Import the stylesheet once at the app entry or in the Next.js root layout. Wrap your interface in FloodRoot to apply the dark foundations.

import "@flood-md/react/styles.css";
import { Button, FloodRoot, Heading, Stack } from "@flood-md/react";

export function Workspace() {
  return (
    <FloodRoot>
      <Stack gap="4">
        <Heading level={1}>Workspace</Heading>
        <Button>New project</Button>
      </Stack>
    </FloodRoot>
  );
}

See installation and upgrades for manual setup and version alignment. Customize the foundations with semantic CSS variables.

Build with a coding agent

Share the agent entry point when starting a project with an agent. In a connected project, the installed flood/DESIGN.md and .agents/skills/flood-ui/SKILL.md guide component selection, composition and verification. The agent knowledge guide explains how to look up a component or workflow with the CLI version recorded in flood.json. Open Connect your agent for client setup and prompts that lead to working Flood examples. See agent setup for the versioned project workflow.

Develop

Node.js 22.12+ (Node 24 recommended), npm 11.

npm ci
npm run dev
npm run verify
npx playwright install chromium
npm run test:browser

verify builds the packages and site, checks types, runs tests and validates the packed packages in a clean consumer. The browser suite covers the website and the Next.js example.

Workspace

DirectoryPurpose
packages/tokensAuthored JSON tokens → generated CSS
packages/reactReact components, declarations and CSS
packages/cliInstaller, diagnostics and catalog search
packages/agentVersioned design guidance and skills
apps/websiteWebsite, component previews and agent endpoints
examples/nextNext.js integration example

Read CONTRIBUTING.md, architecture, releases, and deployment. To report a component issue, open a GitHub issue. Report vulnerabilities using the security policy.

License

Flood code is MIT licensed. The bundled Inter font retains its original SIL Open Font License.

No installation packages available.

Remote

streamable-http
https://flood.md/mcp