4.3.1 ā¢ Published 3 years ago
@forter/tag v4.3.1
fc-tag
An element to display element when showing tags
Usage
<script>
import '@forter/tag';
</script>
<fc-tag>
TAG
</fc-tag>
Examples
<!-- Mix - Fill - Secondary -->
<fc-tag type="fill" intent="secondary">test</fc-tag>
<!-- Mix - Fill - Primary -->
<fc-tag type="fill" intent="primary">pending</fc-tag>
<!-- Mix - Fill - Warn -->
<fc-tag type="fill" intent="warn">ā
vib</fc-tag>
<!-- Mix - Fill - Success -->
<fc-tag type="text" intent="success">approve</fc-tag>
<!-- Mix - Fill - Danger -->
<fc-tag type="text" intent="danger">decline</fc-tag>
<!-- Mix - Fill - Cacnel -->
<fc-tag type="text" intent="cancel">not reviewed</fc-tag>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
clickable | clickable | boolean | false | Whether the tag is click able |
disabled | disabled | boolean | false | Whether the input is disabled |
intent | intent | "primary" \| "secondary" \| "success" \| "danger" \| "warn" | The button's intent. See Intents in README. | |
type | type | "fill" \| "text" | The tag style type. |
CSS Custom Properties
Property | Description |
---|---|
--fc-tag-background | default: rgba(0, 0, 0, 0.05) |
--fc-tag-border | default: 1px solid rgba(0, 0, 0, 0.1) |
--fc-tag-border-radius | default: 4px |
--fc-tag-color | default: rgba(0, 0, 0, 0.65) |
--fc-tag-cursor | default: pointer |
--fc-tag-font-size | default: 12px |
--fc-tag-height | default: 18px |
--fc-tag-padding | default: 0px |
4.3.1
3 years ago
4.3.0
4 years ago
4.2.1
4 years ago
4.2.0
4 years ago
4.1.15
4 years ago
4.1.14
4 years ago
4.1.13
4 years ago
4.1.12
4 years ago
4.1.11
4 years ago
4.1.10
4 years ago
4.1.9
4 years ago
4.1.8
4 years ago
4.1.7
4 years ago
4.1.6
4 years ago
4.1.5
4 years ago
4.1.4
4 years ago
4.1.3
4 years ago
4.1.2
4 years ago
4.1.1
4 years ago
4.1.0
4 years ago
4.0.2
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
3.0.3
4 years ago
3.0.2
5 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.0.1-beta.292
5 years ago
1.0.1-beta.262
5 years ago
1.0.1-beta.247
5 years ago
1.0.1-beta.245
5 years ago
1.0.1-beta.229
5 years ago
1.0.0
5 years ago
1.0.0-alpha.1
5 years ago
1.0.0-alpha.0
5 years ago