Socket
Book a DemoInstallSign in
Socket

@jonny/axelra-styled-bootstrap-grid

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jonny/axelra-styled-bootstrap-grid

Re-implementation with styled-components of the bootstrap grid-layout system with some add-ons.

latest
Source
npmnpm
Version
0.1.6
Version published
Maintainers
1
Created
Source

Axelra Styled Bootstrap Grid

This library is a re-implementation of the bootstrap grid layout system. It uses styled-components as basic components for styling your web layout.

Docs

https://lucas-pelloni.gitbook.io/styled-bootstrap-grid/

Get Started

You can install the library using either yarn or npm.

$ yarn add axelra-styled-bootstrap-grid 

Since this library has been built from skratch, you can simply re-styling all components defined on it. For instance, if you want to create a basic grid layout you can do the following:

import React from "react"; 
import styled from "styled-components"; 
import {Col, Container, Row, Spacer} from "axelra-styled-bootstrap-grid";

const MyContainer = styled(Container)`
  margin-top: 10px;
`;

const Column = styled(Col)`
    display: flex; 
`;

export const Example = () => {
  return (
    <MyContainer fluid>
      <Spacer x10 />
      <Row>
        <Column md={5}>asfasf</Column>
      </Row>
    </MyContainer>
  );
};

Keywords

styled-components

FAQs

Package last updated on 25 Sep 2020

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