百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

DEV-widget

> 编程语言
开源

https://dev.to/的非官方小工具/个人信息卡

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

https://dev.to/的非官方小工具/个人信息卡

DEV widget

GUI to Generate Card: https://dev-widget.netlify.app/create

Codepen: https://codepen.io/saurabhdaware/pen/NWWbOvv

Unofficial Widget / profile card for dev.to.

You can use it in your website/blog and show off your DEV.to articles :sunflower:

Installation and Usage

- Through script tag

xml
    

    
    

- As NPM module

This can be used in React, Vue and almost any other frontend framework

bash
npm install --save dev-widget

Inside your framework component

javascript
import 'dev-widget'

Attributes Guide

attributes description default
data-username Your DEV.to Username
data-width Width of the card 300px
data-contentheight Height of the Aricles Container 300px
data-theme Theme of the card (dark, ocean, pink, cobalt2, default) default
data-name (optional) Name to display on card Will be fetched from API
data-limit Number of articles to display 30
data-sortby Sort articles (date, reactions) date

Note: Value of data-limit should not be too high. An API request has to be made for every 30 articles so for data-limit=200 7 API requests will be made synchronously.

So a full example with every attribute would look something like

xml

Note: Only data-username is neccessary and every other attribute is optional


Themes

default ocean pink dark cobalt2


Changelog

RELEASES


Contributing

I would love to have some of your contributions to this project. You can checkout CONTRIBUTING.md for Contribution guidelines.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptdevdev-todev-widgethacktoberfest

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言