0.1.5 • Published 2 years ago

nawt v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Nawt

A minimal UI library to help in creating custom design systems with Styled Components and Styled System. This library attempts to give you more control in regards to direction and functionality by attempting to keep it minimal thus, removing the need to inherit unnecessary bloat and or styles.

To install,

# * NOTE: omit @types/styled-components @types/styled-system if you're not using Typescript

# Yarn
yarn add nawt styled-components styled-system @types/styled-components @types/styled-system

# NPM
npm install nawt styled-components styled-system @types/styled-components @types/styled-system

# PNPM
pnpm add nawt styled-components styled-system @types/styled-components @types/styled-system

The following utilties are currently available and you can find further instructions/documentation of each package here by clicking on the package name in the table below.

PackageDescription
blockgeneric block component that is used as a building block
colorsa small collection of color value conversion utilities
flexflexbox grid Styled Component with the flexibility of assigning your own number of columns
gridgrid Styled Component with auto template column definitions
mediamedia query utility with query rule constants available
styledhelps with creation of styled components via object definitions
texta text component with capability of defining text truncation
unitsa collection of unit conversion utilties

More to come.