Package Exports
- @instructure/ui-elements
- @instructure/ui-elements/lib/Avatar
- @instructure/ui-elements/lib/Heading
- @instructure/ui-elements/lib/Img
- @instructure/ui-elements/lib/Link
- @instructure/ui-elements/lib/List
- @instructure/ui-elements/lib/MetricsList
- @instructure/ui-elements/lib/Pill
- @instructure/ui-elements/lib/Progress
- @instructure/ui-elements/lib/Spinner
- @instructure/ui-elements/lib/Table
- @instructure/ui-elements/lib/Tag
- @instructure/ui-elements/lib/Text
- @instructure/ui-elements/lib/TruncateText
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-elements) 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-elements
Installation
yarn add @instructure/ui-elementsUsage
import React from 'react'
import { Avatar } from '@instructure/ui-elements'
const MyAvatar = () => {
return (
<Avatar name="Kyle Montgomery" />
)
}Components
The ui-elements package contains the following:
- Avatar will be removed in version 7.0.0. Use the Avatar from ui-avatar.
- Badge
- Img will be removed in version 7.0.0. Use Img from ui-img.
- Link will be removed in version 7.0.0. Use Link from ui-link.
- Heading will be removed in version 7.0.0. Use the Heading from ui-heading.
- List will be removed in version 7.0.0. Use List or InlineList from ui-list.
- MetricsList will be removed in version 7.0.0. Use the MetricGroup or Metric from ui-metric.
- Pill will be removed in version 7.0.0. Use Pill from ui-pill.
- Progress will be removed in version 7.0.0. Use ProgressBar or ProgressCircle from
ui-progressinstead. - Rating will be removed in version 7.0.0. Use the Rating in ui-rating.
- Spinner will be removed in version 7.0.0. Use Spinner from ui-spinner.
- Table has been deprecated within this package. Use Table from ui-table.
- Tag will be removed in version 7.0.0. Use Tag from ui-tag.
- Text will be removed in version 7.0.0. Use Text from ui-text.
- TruncateText
Contribute
See the contributing guidelines for details.