Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gr4vy/poutine-react

Package Overview
Dependencies
Maintainers
4
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gr4vy/poutine-react

## Get Started

  • 0.19.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
278
decreased by-3.14%
Maintainers
4
Weekly downloads
 
Created
Source

Poutine React

Get Started

Install Dependencies

yarn add @gr4vy/poutine-react

Import CSS (Required)

import '@gr4vy/poutine-react/dist/style.css'
// Inter
import '@fontsource/inter'
import '@fontsource/inter/500.css'
import '@fontsource/inter/700.css'

// JetBrains
import '@fontsource/jetbrains-mono'
import '@fontsource/jetbrains-mono/500.css'
import '@fontsource/jetbrains-mono/700.css'

Reset (Optional)

import '@gr4vy/poutine-react/reset.css'

Box, Flex, Stack

Poutine ships with a several basic components that allow you to use design tokens.

import { Box, Stack, Text } from '@gr4vy/poutine-react'

export const App = () => (
  <Box background="blue100" color="white">
    🍟 Poutine is awesome!
  </Box>
)

If Box isn't what you want, try Stack.

import { Stack, Text } from '@gr4vy/poutine-react'

export const App = () => (
  <Stack gap={8}>
    <Text>Mind</Text>
    <Text>The gap!</Text>
  </Stack>
)

Atoms

Using a new component may be too much when all you want is change a color. The atom function will let you lookup atomic classes.

import { atoms } from '@gr4vy/poutine-react'

export const App = () => (
  <button
    className={atoms({
      background: 'blue100',
      color: 'white',
    })}
  >
    🍟 A beautiful button
  </button>
)

Attribution

The following icons are modified from Coolicons v2.5 under CC BY 4.0

  • "Check"
  • "Copy"
  • "Download"
  • "External Link" (Opens in new window)
  • "Link"
  • "Star"

FAQs

Package last updated on 12 Jul 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc