Socket
Book a DemoInstallSign in
Socket

@component-driven/react-design-tokens

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@component-driven/react-design-tokens

React components to document design tokens in a styleguide

latest
npmnpm
Version
2.2.1
Version published
Maintainers
1
Created
Source

react-design-tokens

Build Status npm

React components to document design tokens in a styleguide.

Examples

Component-driven Design Systems Workshop Design System

import { Grid } from 'theme-ui'
import theme from './src/examples/cdds'
import { Colors, Spacing, Typography } from './src'

;<Grid gap={5}>
  <Colors theme={theme} />
  <Spacing theme={theme} />
  <Typography theme={theme} />
</Grid>

GitHub Primer Design System

import { Grid } from 'theme-ui'
import theme from './src/examples/primer'
import { Colors, Spacing, Typography } from './src'

;<Grid gap={5}>
  <Colors theme={theme} />
  <Spacing theme={theme} />
  <Typography theme={theme} />
</Grid>

FAQs

Package last updated on 14 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts