New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@smui-extra/badge

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smui-extra/badge

Svelte Material UI - Badge

8.0.0-beta.3
latest
Source
npm
Version published
Weekly downloads
3.8K
-4.14%
Maintainers
0
Weekly downloads
 
Created
Source

Svelte Material UI - Badge

An indicator for content.

Installation

npm install --save-dev @smui-extra/badge

Examples and Usage Information

https://sveltematerialui.com/demo/badge

Exports

(default)

A badge.

Props / Defaults

  • use: [] - An array of Svelte actions and/or arrays of an action and its options.
  • class: '' - A CSS class string.
  • square: false - Whether the component has square or rounded corners.
  • color: 'default' - The component's color. ('primary', 'secondary', 'default', or a custom color string defined with SASS)
  • position: 'middle' - The position of the badge relative to the corner of the container. ('inset', 'middle', or 'outset')
  • align: 'top-end' - The corner alignment of the badge on its container. ('top-start', 'top-end', 'bottom-start', or 'bottom-end')

Keywords

svelte

FAQs

Package last updated on 22 Dec 2024

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