Socket
Socket
Sign inDemoInstall

@truework/ui

Package Overview
Dependencies
102
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

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).


Version published
Maintainers
4
Created

Readme

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

Last updated on 26 Apr 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc