Installations
npm install @detachhead/smui-chips
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
18.1.0
NPM Version
8.8.0
Score
75
Supply Chain
90.4
Quality
75.3
Maintenance
50
Vulnerability
96.7
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
Svelte (81.85%)
SCSS (8.68%)
TypeScript (8.37%)
JavaScript (0.72%)
HTML (0.35%)
Shell (0.03%)
validate.email 🚀
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Developer
Download Statistics
Total Downloads
601
Last Day
1
Last Week
2
Last Month
17
Last Year
85
GitHub Statistics
Apache-2.0 License
3,356 Stars
1,416 Commits
283 Forks
33 Watchers
15 Branches
49 Contributors
Updated on Feb 27, 2025
Bundle Size
89.79 kB
Minified
21.09 kB
Minified + Gzipped
Package Meta Information
Latest Version
7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc
Package Id
@detachhead/smui-chips@7.0.0-beta.0-7aa154b58dd17d39757ade237397a003da4f0bdc
Unpacked Size
690.62 kB
Size
44.12 kB
File Count
46
NPM Version
8.8.0
Node Version
18.1.0
Total Downloads
Cumulative downloads
Total Downloads
601
Last Day
0%
1
Compared to previous day
Last Week
100%
2
Compared to previous week
Last Month
112.5%
17
Compared to previous month
Last Year
-57.3%
85
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Svelte Material UI - Chips
Chips are used to show discrete information, filter options, input tags, or actions.
Installation
1npm install --save-dev @smui/chips
Examples and Usage Information
https://sveltematerialui.com/demo/chips
Exports
(default)
A chip.
Props / Defaults
use
:[]
- An array of Svelte actions and/or arrays of an action and its options.class
:''
- A CSS class string.ripple
:true
- Whether to implement a ripple for when the component is interacted with.touch
:false
- Increase the touch target.shouldRemoveOnTrailingIconClick
:true
- Whether the chip should be removed upon clicking the trailing icon.shouldFocusPrimaryActionOnClick
:true
- Whether the chip should focus the primary action when it is clicked.
Events
MDCChip:interaction
MDCChip:selection
MDCChip:removal
MDCChip:trailingIconInteraction
MDCChip:navigation
Set
A set of chips. Chips should only be added onto the end of the set's chip array.
Props / Defaults
use
:[]
- An array of Svelte actions and/or arrays of an action and its options.class
:''
- A CSS class string.chips
[]
- An array containing the chips.key
chip => chip
- A function used to get the key of the chip. Chip sets that have removable chips should always provide unique keys.selected
undefined
- The currently selected chip or chips.choice
false
- Whether to present the chips as a set of choices, allowing one to be chosen.filter
false
- Whether to present the chips as a set of options, allowing any number to be chosen.input
false
- Whether to present the chips as a set of values, allowing them to be removed.
Text
A text label.
todo...
LeadingIcon
A graphic icon.
todo...
TrailingIcon
A graphic icon.
todo...
TrailingAction
A graphic icon.
todo...
More Information
See Chips in the Material design spec.
See Chips in MDC-Web for information about the upstream library's architecture.

No vulnerabilities found.
Reason
26 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
no binaries found in the repo
Reason
6 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q
- Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38
- Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99
- Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3.6
/10
Last Scanned on 2025-02-24
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More