Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@sb1/ffe-tags-react

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sb1/ffe-tags-react

React implementation of ffe-tags component

latest
Source
npmnpm
Version
101.0.4
Version published
Maintainers
4
Created
Source

@sb1/ffe-tags-react

Beskrivelse

Tag-komponenten brukes for merking og kategorisering av innhold.

Installasjon

npm install --save @sb1/ffe-tags-react

Bruk

Full dokumentasjon: https://sparebank1.github.io/designsystem/

Grunnleggende eksempel

import { Tag } from '@sb1/ffe-tags-react';

<Tag variant="info">Info</Tag>
<Tag variant="success">Suksess</Tag>
<Tag variant="warning">Advarsel</Tag>
<Tag variant="critical">Kritisk</Tag>
<Tag variant="neutral">Nøytral</Tag>
<Tag variant="tip">Tips</Tag>

Ulike typer

<Tag type="emphasis" variant="info">Fremhevet</Tag>
<Tag type="subtle" variant="info">Subtil</Tag>

Ulike størrelser

<Tag size="sm">Liten</Tag>
<Tag size="md">Medium</Tag>
<Tag size="lg">Stor</Tag>

Med ikon

import { Tag } from '@sb1/ffe-tags-react';
import { Icon } from '@sb1/ffe-icons-react';

<Tag variant="critical">
    <Icon fileUrl={warningIconUrl} size="sm" />
    Ikke betalt
</Tag>;

Importere CSS

@import '@sb1/ffe-tags/css/tag.css';

TypeScript

import { Tag, type TagProps } from '@sb1/ffe-tags-react';

Utvikling

Fra designsystem-rotmappen:

npm install && npm run build && npm start

Storybook kjører på http://localhost:6006/

Keywords

ffe

FAQs

Package last updated on 13 May 2026

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