![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
formidable-oss-badges
Advanced tools
Badges for Formidable Open Source Projects
yarn add formidable-oss-badges
or npm install formidable-oss-badges
import { FeaturedBadge, ProjectBadge } from "formidable-oss-badges";
import "formidable-oss-badges/dist/style.css";
<ProjectBadge />
or <FeaturedBadge />
component as directed belowThe <ProjectBadge />
component takes five, optional, props:
Prop | Type | Description | Example |
---|---|---|---|
color | String (hex/RGB) | Base color of the badge | "#FF00FF" |
abbreviation | String | Short representation of the name. Large font. Typically one uppercase letter, one lowercase. | "Em" |
description | String | Title or brief description. Smaller text, displayed in all-caps. | "Enzyme Matchers" |
className | String | Class to apply directly to the SVG | "project-badge" |
isHoverable | Boolean | Add hover style effects | true |
simple | Boolean | Hides the description and enlarges the abbreviation - use for small badge display | false |
It is recommended to at least include the color
, description
, and
abbreviation
props.
Will accept any svg child (we recommend to use an <image/>
with an embedded
png, svg or lossless image format of your choice. See example 5).
Presence of a child will cause the component to ignore any abbreviation
prop.
You will need to position the child yourself.
e.g:
<image x="14%" y="20%" />
To use a Featured Formidable Badge, you only need to pass in a single prop,
name
, that matches one of the available badges listed below.
See featuredLogos for the latest available lineup.
renature
spectacle
urql
victory
nuka
owl
groqd
envy
figlog
cloudsplice
For a simplified version of the logo without the name in the badge (works better
for smaller sizes), you can use the simple
variant of any of the above
options.
<FeaturedBadge name="victory" simple />
Prop | Type | Description | Default |
---|---|---|---|
name | String | One of the available badge names | '' |
className | String | Additional class names | '' |
isHoverable | Boolean | Add hover style effects | true |
simple | Boolean | Hides the description and enlarges the abbreviation - use for small badge display | false |
Named exports of featured project badges for importing a single badge.
See featuredProjectBadges for the latest available lineup.
RenatureBadge
SpectacleBadge
UrqlBadge
VictoryBadge
NukaBadge
OwlBadge
GroqdBadge
EnvyBadge
FigLogBadge
CloudSpliceBadge
Prop | Type | Description | Default |
---|---|---|---|
className | String | Additional class names | '' |
isHoverable | Boolean | Add hover style effects | true |
simple | Boolean | Hides the description and enlarges the abbreviation - use for small badge display | false |
Example 1:
<ProjectBadge color="#89E" abbreviation="No" description="Number" />
Example 2:
<ProjectBadge color="#E48055" abbreviation="Em" description="Enzyme Matchers" />
Example 3:
<ProjectBadge />
Example 5:
ProjectBadge with svg child:
<ProjectBadge abbreviation="R" description="React" color="#90dafa">
<image
x="14%"
y="20%"
width="50%"
href="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/512px-React-icon.svg.png"
/>
</ProjectBadge>
Example 6:
<FeaturedBadge name="victory">
1 | 2 | 3 |
---|---|---|
![]() | ![]() | ![]() |
4 | 5 | 6 |
---|---|---|
![]() | ![]() | ![]() |
To try out the badge components locally:
git clone
this repocd formidable-oss-badges
yarn install
yarn storybook
Active: Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.
1.7.2
FeaturedBadgeNames
to exclude Simple names
(#104)FeaturedBadgeNames
to singular FeaturedBadgeName
(type is union not an array)FAQs
Badges for Formidable OSS
The npm package formidable-oss-badges receives a total of 89 weekly downloads. As such, formidable-oss-badges popularity was classified as not popular.
We found that formidable-oss-badges demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.