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

@blueprintui/grid

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintui/grid

Accelerate your development with a flexible UI datagrid that works everywhere.

  • 2.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

BlueprintUI Grid

Accelerate your development with a flexible UI datagrid that works everywhere.

npm version

Installation

To use the datagrid install the following,

npm install @blueprintui/grid @blueprintui/themes

Optional packages for layout and typography utilities are also available.

npm install @blueprintui/layout @blueprintui/typography

CSS

To use components the base theme CSS file must be loaded into the page. This can be done via a CSS import or HTML link.

@import '@blueprintui/themes/index.min.css';

or

<link rel="stylesheet" href="@blueprintui/themes/index.min.css"> 

CDN

Blueprint UI Components can be used via CDNs for fast and easy prototyping.

<link rel="stylesheet" href="https://unpkg.com/@blueprintui/themes/index.min.css">
<link rel="stylesheet" href="https://unpkg.com/@@blueprintui/themes/dark/index.min.css">

<script type="module">
  import 'https://cdn.jsdelivr.net/npm/@blueprintui/grid/include/core.js/+esm';
</script>

Using a Component

Once the theme CSS is loaded the grid can be imported via JavaScript imports.

import '@blueprintui/grid/include/core.js';
import '@blueprintui/grid/include/keynav.js';
<body bp-theme="dark">

  <bp-grid>
    <bp-grid-header>
      <bp-grid-column>Column</bp-grid-column>
      <bp-grid-column>Column</bp-grid-column>
      <bp-grid-column>Column</bp-grid-column>
      <bp-grid-column>Column</bp-grid-column>
    </bp-grid-header>

    <bp-grid-row>
      <bp-grid-cell>Cell</bp-grid-cell>
      <bp-grid-cell>Cell</bp-grid-cell>
      <bp-grid-cell>Cell</bp-grid-cell>
      <bp-grid-cell>Cell</bp-grid-cell>
    </bp-grid-row>
  </bp-grid>

</body>

Keywords

FAQs

Package last updated on 19 Nov 2024

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