Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@infinitoui/infinito-card

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infinitoui/infinito-card

infinito card component

  • 1.7.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

@infinitoui/infinito-card

Downloads per month NPM Version TypeScript

Preview

preview

Demo

Install

npm install @infinitoui/infinito-card

Usage

引入组件:

import '@infinitoui/infinito-card'

使用:

<infinito-card title="标题">
  <p>这是有标题的card,并且可以折叠</p>
</infinito-card>

<infinito-card>
  <p>这是没有标题的card</p>
</infinito-card>

Properties

PropertyAttributeTypeDefaultDescription
openopenbooleanfalse默认是否关闭
titletitlestring""卡片标题,没有标题不能折叠

Slots

NameDescription
卡片主体内容(默认插槽)

CSS Custom Properties

PropertyDefaultDescription
--border-radius"0"卡片圆角
--card-color"#fff"卡片背景颜色
--padding-width"20px"卡片内边距

Keywords

FAQs

Package last updated on 07 Jul 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc