New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/pro-card

Package Overview
Dependencies
Maintainers
10
Versions
337
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/pro-card

@ant-design/pro-card

  • 2.5.21
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26K
decreased by-64.4%
Maintainers
10
Weekly downloads
 
Created

What is @ant-design/pro-card?

@ant-design/pro-card is a component library that provides a set of card components for building complex card layouts in React applications. It is part of the Ant Design Pro ecosystem and is designed to work seamlessly with other Ant Design components.

What are @ant-design/pro-card's main functionalities?

Basic Card

This feature allows you to create a basic card with a title and bordered style. The card can contain any content inside it.

<ProCard title="Basic Card" bordered headerBordered>
  <div>Content inside the card</div>
</ProCard>

Grid Card

This feature allows you to create a grid layout within a card. You can specify the number of columns and their span to organize content in a structured manner.

<ProCard title="Grid Card" gutter={16} layout="center">
  <ProCard colSpan={8}>Column 1</ProCard>
  <ProCard colSpan={8}>Column 2</ProCard>
  <ProCard colSpan={8}>Column 3</ProCard>
</ProCard>

Tabbed Card

This feature allows you to create a card with tabs. Each tab can contain different content, making it easy to organize information in a compact space.

<ProCard tabs={{ type: 'card', items: [
  { key: 'tab1', tab: 'Tab 1', children: <div>Content of Tab 1</div> },
  { key: 'tab2', tab: 'Tab 2', children: <div>Content of Tab 2</div> }
] }} />

Other packages similar to @ant-design/pro-card

Keywords

FAQs

Package last updated on 19 Oct 2023

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