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

factorial-components-pagination

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

factorial-components-pagination

A simple bullet-style pagination

  • 0.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Factorial components-pagination

A simple bullet-style pagination

  • Read more about SUIT CSS's design principles.

Installation

$ npm install factorial-components-pagination

Features

  • Inherits color

Available classes

  • .Pagination: The core container
  • .Pagination-bullet: Individual items
  • .Pagination-bullet.is-active: Item active state
  • .Pagination--vertical: Modifier for vertical alignment
  • .Pagination--clickable: Modifier for clickable bullet points

Configuration

propertydefault
--Pagination-margin.25rem
--Pagination-bullet-size.5rem
--Pagination-border-width.0625rem
--Pagination-border-stylesolid

Usage

NB: Make sure you don't render white space between bullets as they are rendered using inline-block.

<nav class="Pagination">
  <a class="Pagination-bullet is-active">Go to slide 1</a><a
    class="Pagination-bullet">Go to slide 2</a><a
    class="Pagination-bullet">Go to slide 3</a>
</nav>

Development

Prerequisites

Installation

$ npm install

Available tasks

npm run ...Description
buildCompile and bundle all CSS and JS files.
build:cssCompile and bundle all CSS files to build/index.css.
build:jsCompile and bundle all JS files to build/index.js.
build:testCopy and preprocess idiomatic test files to build.
deployDeploy gh-pages branch.
startStart a development server at http://localhost:8080.
testRun all tests.
test:browserRun all browser tests.
test:lint-cssLint all CSS files.
test:lint-jsLint all JS files.
watchWatch for file changes in lib and trigger a new build.

Keywords

FAQs

Package last updated on 11 Sep 2016

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