Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@highlight-ui/card
Advanced tools
Using npm:
npm install @highlight-ui/card
Using yarn:
yarn add @highlight-ui/card
Using pnpm:
pnpm install @highlight-ui/card
In your (S)CSS file:
@import url('@highlight-ui/card');
Once the package is installed, you can import the library:
import { Card, CardContent, CardFooter } from '@highlight-ui/card';
import React, { useState } from 'react';
import { Card, CardContent, CardFooter } from '@highlight-ui/card';
import { Typography } from '@highlight-ui/typography';
export default function CardExample() {
return (
<Card>
<CardContent>
<Typography component="h4" token="heading-medium">
Active employees
</Typography>
<Typography component="span" token="caption">
Last viewed on 06.07.2023
</Typography>
<Typography token="body-base">
All the active employees from the marketing department with …
</Typography>
</CardContent>
<CardFooter>
<Typography component="span" token="caption">
Created by <strong>Personio</strong>
</Typography>
</CardFooter>
</Card>
);
}
Prop | Type | Required | Default | Description |
---|---|---|---|---|
animate | boolean | No | false | Specifies whether the card will have animation or not. |
cardClassName | string | No | Allows providing a custom class name, applied to the content element |
Please visit personio.design for usage guidelines and visual examples.
If you're interested in contributing, please visit our contribution page.
FAQs
This is the card component used in Personio
We found that @highlight-ui/card demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.