
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
@fluentui/react-tags-preview
Advanced tools
React Tags components for Fluent UI React
These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.
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
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.