Fusion UI LogoFusion UI Logo
Fusion UI LogoFusion UI Logo
/
Getting Started
Concepts
Components
Example Apps
Getting Started
Concepts
Components
Example Apps
Fusion UI LogoFusion UI Logo
Getting Started
Concepts
Components
Example Apps
Overview
Actions
Button
Button Group
Segmented Button
Deprecated
Split Button
Toggle Button
Click To Copy
Toolbar
Navigation
Main Nav
Side Menu
Page Header
Tabs
Breadcrumbs
On-Page Menu
Link
Command Menu
Application Switcher
Context Switcher
Account Menu
Menu Bar
Deprecated
Inputs & Forms
Form
Form Actions
Deprecated
Form Divider
Form Field
Form Repeat
Form Spacing
Input
Prefix & Suffix
Rich Text Input
Autocomplete
Select
Date / Time Input
Calendar
Slider
Selection
Checkbox
Radio
Switch
Switch Select
Chip
Chip Choice
Chip Filter
Chip Input
Chip Sortable
Visual Select
Pricing Plan Select
Feedback & Loading
Banner
Inline Message
Snackbar
Inline Snackbar
Loading Spinner
Skeleton
Text Skeleton
Contextual Information
Badge
Status
Tag
Tooltip
Info
Hotkey
Icon
Icon Sizer
Containers & Overlays
Tile
Tile Content
Tile Footer
Tile Header
Annotated Section
Modal
Sheet
Popover
Context Menu
Data Display
Data Table
List
Timeline
Data Visualization
KPI Card
Ratio Card
Bar Chart
Line Chart
Pie Chart
Heatmap Calendar
Layout
Container
Stack Layout
Flow Layout
Internals
Blanket
Expansion Panel
Menu List Base
Menu Group
Search Bar
Components
...
Tag

Tag

Label that categorizes content.

Overview

A Tag labels content to organize, classify or group it, optionally with an icon.

Tag
"use client";
import React from "react";
import {Tag} from "@brynlabs/fusion-ui";
export const TagExample = () => <Tag tagStyle={"primary"}>Tag</Tag>;

Icon

Tag 123
Tag 456
"use client";
import React from "react";
import {IconShield, Tag} from "@brynlabs/fusion-ui";
export const TagIconExample = () => (
<div style={{display: "flex", gap: "1rem"}}>
<Tag tagStyle={"secondary"} emphasis={"high"} icon={<IconShield />}>
Tag 123
</Tag>
<Tag tagStyle={"critical"} icon={<IconShield />}>
Tag 456
</Tag>
</div>
);

Styles & emphasis

primary low
primary medium
primary high
secondary low
secondary medium
secondary high
success low
success medium
success high
warn low
warn medium
warn high
critical low
critical medium
critical high
purple low
purple medium
purple high
fuchsia low
fuchsia medium
fuchsia high
orange low
orange medium
orange high
lime low
lime medium
lime high
turquoise low
turquoise medium
turquoise high
neutral low
neutral medium
neutral high
"use client";
import React from "react";
import {IconShield, Tag, TAG_STYLE, TAG_EMPHASIS} from "@brynlabs/fusion-ui";
export const TagStylesExample = () => (
<div style={{display: "grid", gap: "1rem"}}>
{TAG_STYLE.map(style => (
<div key={style} style={{display: "flex", gap: "1rem"}}>
{TAG_EMPHASIS.map(emphasis => (
<Tag
key={`${style}-${emphasis}`}
emphasis={emphasis}
tagStyle={style}
icon={<IconShield />}>
{`${style} ${emphasis}`}
</Tag>
))}
</div>
))}
</div>
);
On this page
  • Overview
  • Icon
  • Styles & emphasis