Have ideas to improve npm?Join in the discussion! »

    This package has been deprecated

    Author message:

    This package has moved to @dash-ui/grid

    @-ui/grid
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1 • Public • Published

    @-ui/grid

    Bundlephobia Types Code coverage Build status NPM Version MIT License

    npm i @-ui/grid

    A grid system for -ui

    Quick Start

    import styles from '@-ui/styles'
    import {grid, Grid4, Grid8, Grid12, Grid16, Grid20, Grid24} from '@-ui/grid'
     
    const myGrid = grid<Grid12>(styles, 12)
    const Component = () => <div className={myGrid('1/12')} />
     
    const otherStyles = styles({
      default: `
        ${myGrid.css('1/12')};
        height: 300px;
      `,
    })

    API

    LICENSE

    MIT

    Install

    npm i @-ui/grid

    DownloadsWeekly Downloads

    27

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    10.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar