Socket
Book a DemoInstallSign in
Socket

@coopdigital/component-notification--alert

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coopdigital/component-notification--alert

Co-op Components: Notification - alert

1.2.13
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source

Component card

Card component used on colleagues.coop.co.uk and coop.co.uk/recipes

Installation

Install via npm or Yarn:

$ npm install @coopdigital/component-notification--alert --save
# OR
$ yarn add @coopdigital/component-notification--alert

Usage

You can include component-notification--alert in your project by referencing it from your existing CSS via @import statement, i.e.:

@import "node_modules/@coopdigital/component-notification--alert/dist/card.css";

If you use PostCSS in your build pipeline, you can reference the sources directly like so:

@import "node_modules/@coopdigital/component-notification--alert/src/card.pcss";

If you use a postcss-import plugin, it gets even easier:

@import "@coopdigital/component-notification--alert";

Examples

Here's a bunch of examples, showing how you can integrate this CSS module in your project, based on most popular stacks of project. You can either use a post-processed and pre-built CSS form the dist directory, ot use PostCSS sources from the src dir.

The latter have certain dependencies, which should be consumed by your frontend toolkit to postprocess the CSS correctly.

Vue.js

TBD

React.js

TBD

Development

TBD

License

Copyright (c) 2021 Co-operative Group Limited. Licensed MIT.

Keywords

alert

FAQs

Package last updated on 27 Jan 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.