Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@automattic/components
Advanced tools
Cards are used as containers to group similar information and tasks together to make it easier to scan and read.
Includes both
Card
andCompactCard
import Card from 'components/card';
import CompactCard from 'components/card/compact';
render: function() {
return (
<div className="your-stuff">
<Card>
<span>Your stuff in a Card</span>
</Card>
<CompactCard>
<span>Your stuff in a CompactCard</span>
</CompactCard>
</div>
);
}
Name | Type | Default | Description |
---|---|---|---|
className | string | null | Adds CSS classes. |
href | string | null | URL of the card. Adds a right chevron icon. |
tagName | string | null | Allows you to control the tag name of the card wrapper (only if href is not specified). |
displayAsLink | bool | false | Used for cards without a href that need to display as a link. Primarily intended for use when tagName is "button" and when an onClick attribute is set. The corresponding button will render with the same visual appearance as a link (including the right chevron icon). |
target | string | null | If used with href , this specifies where the link opens. Changes the icon to external . |
compact | bool | false | Decreases the size of the card. |
highlight | string | null | Displays a colored highlight. If specified (default is no highlight), can be one of info , success , error , or warning . |
CompactCard
component slightly modifies the Card
component (and is equivalent to using <Card compact />
).Notice
or Banner
.FAQs
Automattic Components.
The npm package @automattic/components receives a total of 8,947 weekly downloads. As such, @automattic/components popularity was classified as popular.
We found that @automattic/components 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.