New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@coopdigital/component-blockquote

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coopdigital/component-blockquote

Co-op Components: Blockquote

  • 1.2.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Component Blockquote

This repository is a template for creating new components for the Co-op design system.


component-blockquote

Your brief description of your component.

Installation

Install via npm:

$ npm install @coopdigital/component-blockquote --save

Usage

React

You can include this react component in your project by importing it via the import statement.

import Blockquote from '@coopdigital/component-blockquote';

If you want to use the JSX template for compiling in your own project you can include the component with the following import statement

import Blockquote from 'node_modules/@coopdigital/component-blockquote/src/Blockquote.jsx'
Component Props

The blockquote has the following props you need to populate content or use a variant

Prop nameProp typeRequried
quotestringYES
citationstringYES
quoteLargebooleanNO

CSS

You can include component-blockquote css in your project by referencing it from your existing CSS via @import statement:

@import "node_modules/@coopdigital/component-blockquote/dist/blockquote.css";

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

@import "node_modules/@coopdigital/component-blockquote/src/blockquote.pcss";

If you use a postcss-import plugin:

@import "@coopdigital/component-blockquote";

License

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

Keywords

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

  • 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