bigcommerce / big-design

Design system that powers the BigCommerce ecosystem.
https://bigcommerce.github.io/big-design
Other
47 stars 65 forks source link

feat(component): implement FeatureTag component #1567

Open davelinke opened 1 month ago

davelinke commented 1 month ago

What?

Introducing the FeatureTag component

Why?

The feature tag component is a stylized link/badge interface element that describes categories of a particular application or feature within the BC properties.

Screenshots/Screen Recordings

Figma

Screenshot 2024-10-16 at 3 03 40 PM

Prototype

Screenshot 2024-10-17 at 9 52 39 AM

Testing/Proof

dev.tsx code ```tsx import { FeatureTag, Flex, Grid } from '@bigcommerce/big-design'; import { AutoAwesomeIcon } from '@bigcommerce/big-design-icons'; import React, { FunctionComponent } from 'react'; const PageFeatureTag: FunctionComponent = () => { return ( } label="Woot" /> } label="BigCommerce" target="_blank" /> } isActive={true} label="BigCommerce" /> } label="A really long text" /> ); }; export default PageFeatureTag; ```
changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 4cd64433d150605acb266839dc70fbba1a36e929

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

chanceaclark commented 3 weeks ago

Before you convert this from draft to regular PR make sure to add documentation.