# News Card

> A market news card that cycles headlines with their source and time, for trading dashboards, broker apps and crypto portals.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/news-card
```

npm dependencies: clsx, motion, tailwind-merge

## Props

`<NewsCard />`

- `items?`: `NewsItem[]`
- `title?`: `string`
- `cycleMs?`: `number`

## Where it belongs

- Cards: React card components: a draggable card stack, responsive card grids, list views, a bento gallery and news cards. (https://ssych.com/library/s/cards)

## Related

- Card Stack: https://ssych.com/library/card-stack.md
- Card Grid: https://ssych.com/library/card-grid.md
- Card List: https://ssych.com/library/card-list.md
- Bento Gallery: https://ssych.com/library/bento-gallery.md
- Project Index: https://ssych.com/library/project-index.md
- Index Card: https://ssych.com/library/index-card.md

## Links

- Live preview and code: https://ssych.com/library/news-card
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
