JSPM

@instructure/ui-pill

10.10.1-snapshot-14
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4759
  • Score
    100M100P100Q145404F
  • License MIT

A UI component to communicate concise status.

Package Exports

  • @instructure/ui-pill
  • @instructure/ui-pill/es/Pill/PillLocator
  • @instructure/ui-pill/es/Pill/PillLocator.js
  • @instructure/ui-pill/es/index.js
  • @instructure/ui-pill/lib/Pill
  • @instructure/ui-pill/lib/Pill/PillLocator
  • @instructure/ui-pill/lib/Pill/PillLocator.js
  • @instructure/ui-pill/lib/Pill/index.js
  • @instructure/ui-pill/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-pill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme


category: packages

ui-pill

npm MIT License Code of Conduct

Use Pills to communicate concise status with an identifiable color and supportive text.

Components

The ui-pill package contains the following:

Installation

npm install @instructure/ui-pill

Usage

---
type: code
---
import React from 'react'
import { Pill } from '@instructure/ui-pill'

const MyPill = () => {
  return (
    <Pill
      color="info"
      margin="x-small"
    >
      Draft
    </Pill>
  )
}