You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@highlight-ui/card

Package Overview
Dependencies
Maintainers
10
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highlight-ui/card

This is the card component used in Personio

4.2.8
latest
npmnpm
Version published
Weekly downloads
156
-44.09%
Maintainers
10
Weekly downloads
 
Created
Source

npm personio.design storybook.personio.design

@highlight-ui/card

Installation

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';

Usage

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>
  );
}

Props 📜

Card

PropTypeRequiredDefaultDescription
animatebooleanNofalseSpecifies whether the card will have animation or not.
cardClassNamestringNoAllows providing a custom class name, applied to the content element

Contributing 🖌️

Please visit personio.design for usage guidelines and visual examples.

If you're interested in contributing, please visit our contribution page.

FAQs

Package last updated on 23 Jan 2025

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