@citizensadvice/cads-button-container

0.0.5 • Public • Published

Button container

npm (scoped)

Component type

  • Component

Dependencies:

Name Description
@citizensadvice/cads-support System-wide global variables and functions

Installation

$ npm install @citizensadvice/cads-button-container
@import "@citizensadvice/cads-button-container/index.scss";

You can also make use of the unpkg service, try adding the link below to the head of your HTML file <link src="https://unpkg.com/@citizensadvice/cads-button-container@latest/build/cads.button-container.css" />

Implementation

A button container is a container wrapper to help position one or more buttons. Essentially it gives $spacing--2xl to the button(s) and is often used when creating tools that require a clear separation of content and UI actions.

<div class="c-btn-container">
  <a class="c-btn c-btn--primary c-btn--action-prev" href="#">Previous</a>
  <a class="c-btn c-btn--primary" href="#">Next</a>
</div>

Readme

Keywords

none

Package Sidebar

Install

npm i @citizensadvice/cads-button-container

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

2.61 kB

Total Files

6

Last publish

Collaborators

  • cnorthwoodcita
  • seymourski
  • marianayovcheva
  • mrdaniellewis
  • davidsauntson
  • davidrapson