🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@truework/ui

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@truework/ui

Truework's React UI toolkit. Built with [styled-components](https://github.com/styled-components/styled-components) and [styled-system](https://github.com/styled-system/styled-system).

1.4.0-beta8
beta8
npm
Version published
Weekly downloads
17
41.67%
Maintainers
5
Weekly downloads
 
Created
Source

@truework/ui npm

Truework's React UI toolkit. Built with styled-components and styled-system.

npm i @truework/ui --save

Usage

For docs and examples for each component, please refer to the src directory.

import { ThemeProvider, GlobalStyle } from 'styled-components'
import { theme, Box, H1, Icon } from '@truework/ui'

export default () => (
  <ThemeProvider theme={theme}>
    <GlobalStyle />

    <Box py="sm">
      <H1>Hello world!</H1>
      <Icon name="Heart" />
    </Box>
  </ThemeProvider>
)

License

MIT License © Truework

FAQs

Package last updated on 23 May 2022

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