# Tweet card

A styled tweet embed to highlight social proof or share updates.

By Magic UI. Categories: framework, interface, language, library.

[Deploy](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcroct-tech%2Fvercel-template&project-name=magic-ui-tweet-card&repository-name=magic-ui-tweet-card&demo-title=Tweet+card&demo-description=A+styled+tweet+embed+to+highlight+social+proof+or+share+updates.&demo-image=https%3A%2F%2Fcdn.croct.io%2Fassets%2Ftemplates%2Fcovers%2Flibrary-magic-ui-tweet-card.png&external-id=magic-ui%3A%2F%2Fcomponent%2Ftweet-card&integration-ids=oac_cTQZ22CIXn5XgZXYk2nBwFdU) · [Source](https://github.com/croct-tech/templates/blob/master/templates/magic-ui/component/tweet-card/)

## Installation

```sh
npx croct@latest use magic-ui://component/tweet-card
```

# Introduction

This template adds the [Magic UI Tweet Card](https://magicui.design/docs/components/tweet-card?utm_source=croct) component to your 
project or creates a new project using [Next.js](https://nextjs.org/?utm_source=croct) if none is found in the current directory.

It comes fully integrated with Croct, giving you CMS, AB testing, and personalization out of the box.

## Usage

To create a new project using this template, run:

```croct-cmd
croct use magic-ui://component/tweet-card
```

You can customize the template by specifying options:

```croct-cmd
croct use magic-ui://component/tweet-card --router=page
```

## Options

The following options are available for this template:

| Option        | Description                          | Required | Default  |
|---------------|--------------------------------------|----------|----------|
| `projectName` | The name of the project.             | No       | `my-app` |
| `version`     | The Next.js version to use.          | No       | `latest` |
| `router`      | The router to use (`app` or `page`). | No       | `app`    |
