New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ds-kit/featured-item

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ds-kit/featured-item

FeaturedItem component

latest
npmnpm
Version
6.0.1
Version published
Maintainers
3
Created
Source

title: "FeaturedItem" slug: "/packages/featured-item" category: "layout" componentNames:

  • "FeaturedItem"
  • "FeaturedApp"
  • "FeaturedStory"
  • "FeaturedTopic"

The featured item can be a story, app, topic, or any other noteworthy content that you want to highlight on a page. There are separate components available for each of the above content types.

To see the different featured items in action, check out the featured item pattern.

To get started with featured items, import the relevant components from @ds-kit/featured-item

import {
  FeaturedItem,
  FeaturedApp,
  FeaturedStory,
  FeaturedTopic,
} from "@ds-kit/featured-item"

Simple Example

The simple example of a custom featured item can look like this:

<FeaturedItem
  kicker="Featured"
  title="Featured Item"
  description="Some description for this featured item"
  imgBg="primary"
/>

FAQs

Package last updated on 29 Jul 2019

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