Skip to content
tangle-networkPublic

About

Tangle brand system — design tokens, fonts, logo, and Tailwind v4 theme. Single source of truth for every Tangle app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tangle design system

Use Tangle's colors, typography and knot in a website, or build a React interface with its buttons, dialogs, Markdown renderer and recorded examples.

Package Start here
@tangle-network/brand CSS tokens and themes, React logos, a framework-independent SVG knot, and social metadata
@tangle-network/ui React components with focused imports for controls, forms, Markdown, and application layouts

Use the design system

For a React app that already builds Tailwind CSS v4, install the two packages alongside React and React DOM.

npm install @tangle-network/brand @tangle-network/ui react react-dom

In src/styles.css, load the theme and let Tailwind discover the component classes. Adjust the relative source path if your stylesheet lives elsewhere.

@import "tailwindcss";
@import "@tangle-network/brand/styles";
@source "../node_modules/@tangle-network/ui/src";
import { Logo } from "@tangle-network/brand";
import { Button } from "@tangle-network/ui/primitives";

export function Example() {
  return <div><Logo size="md" /><Button onClick={() => window.print()}>Print page</Button></div>;
}

For a static page, import knotSvg from @tangle-network/brand/knot. It produces SVG without React or a browser. The brand guide covers named themes, font loading and metadata.

Develop locally

Use the Node and pnpm versions listed in package.json. From a clone of this repository, run the following commands.

pnpm install --frozen-lockfile
pnpm --filter @tangle-network/brand build
pnpm storybook

Open Storybook on localhost to try a component in light and dark themes. Run pnpm typecheck and pnpm test to check changes. To exercise the browser suite, install Chromium with pnpm exec playwright install --with-deps chromium, then run pnpm test:visual.

Design and licensing

About

Tangle brand system — design tokens, fonts, logo, and Tailwind v4 theme. Single source of truth for every Tangle app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages