Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/paulkinlan/twitter-share-button

A simple twitter share button
https://github.com/paulkinlan/twitter-share-button

share twitter webcomponents

Last synced: about 2 months ago
JSON representation

A simple twitter share button

Awesome Lists containing this project

README

        

# Twitter Share Button

The Twitter Share Button web component provides a simple and customizable
interface for sharing URLs directly to Twitter.

* Automatically uses the URL, title and description of the page when present
* Allows you to override the URL and text to share to Twitter.
* Allows you to configure the display with your own text and icons.
* When combined with `` element, it will automatically bind to the
data from it's host component and be embedded in the share control.

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/owner/my-element)

```html

```

## Customize the UI

```html
Twitter Button
```

## Add an image

```html

```

## Customize the URL to share

```html

```

## Customize the text to share

```html
Attribute Text Test
```

## The full 9 yards

```html
Attribute and URL Test
```