npm.io
11.7.3 • Published 1 month ago

@instructure/ui-pill

Licence
MIT
Version
11.7.3
Deps
10
Size
298 kB
Vulns
0
Weekly
0
Stars
478

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
import React from 'react'
import { Pill } from '@instructure/ui-pill'

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