
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@fluentui/react-tags
Advanced tools
React Tags components for Fluent UI React
Tag
provides visual representation of an attribute, person or asset.InteractionTag
follows the same characteristics as Tag
, but with the added functionality of having a primary interaction.TagGroup
is used to group multiple tags together.To import Tag:
import { Tag, TagGroup, InteractionTag } from '@fluentui/react-components';
// basic
<Tag>Content</Tag>
// with icon
<Tag icon={<SVGIcon />}>Content</Tag>
// different appearance
<Tag appearance='outlined'>Content</Tag>
// with dismiss icon
<Tag dismissible>Content</Tag>
// different size
<Tag size="small">Content</Tag>
// basic
<InteractionTag>
<InteractionTagPrimary>Content</InteractionTagPrimary>
</InteractionTag>
// with icon
<InteractionTag>
<InteractionTagPrimary icon={<SVGIcon />}>Content</InteractionTagPrimary>
</InteractionTag>
// different appearance
<InteractionTag appearance="outlined">
<InteractionTagPrimary>Content</InteractionTagPrimary>
</InteractionTag>
// with secondary action
<InteractionTag>
<InteractionTagPrimary hasSecondaryAction>Content</InteractionTagPrimary>
<InteractionTagSecondary />
</InteractionTag>
// different size
<InteractionTag size="small">
<InteractionTagPrimary>Content</InteractionTagPrimary>
</InteractionTag>
<TagGroup>
<Tag>Tag 1</Tag>
<Tag>Tag 2</Tag>
<Tag>Tag 3</Tag>
</TagGroup>
FAQs
Did you know?
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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.