You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@truework/ui

Package Overview
Dependencies
Maintainers
4
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).


Version published
Weekly downloads
56
decreased by-1.75%
Maintainers
4
Created
Weekly downloads
 

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

Package last updated on 26 Apr 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc