npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fortissimo/component

v0.15.0

Published

react组件库

Readme

@fortissimo/component

react纯ts(js)组件库

npm i @fortissimo/component

使用示例

import React from 'react';
import { Router } from '@fortissimo/component';
import type { Route } from '@fortissimo/component';

const config: Route[] = [
    {
        path: '',
        component: <div>hello, world!</div>
    },
    {
        path: 'about',
        component: <div>about</div>
    }
]

export default function() {
    return <div><Router config={config} /></div>
}

API

| 组件名 | 功能 | props |备注| |--------------------|---------------------|------------------------|---| | Router | 根据路由配置选项生成路由组件 | Route | | TypeInput | 类型输入框 | TypeInputProps | | Time.Point | 编辑时间 | TimePointProps | | Time.Range | 编辑时间段 | TimeRangeProps | | Time.Show | 展示时间 | TimeShowProps | | Time.ShowRange | 展示时间段 | TimeShowRangeProps | | Upload.File | 上传文件 | UploadProps | | Upload.FileList | 上传多个文件 | UploadListProps | | Upload.Image | 上传图片 | UploadImageProps | | Upload.FileList | 上传多个图片 | UploadImageListProps | | Upload.Video | 上传视频 | UploadVideoProps | | Pic.Item | 展示图片 | PicProps | | Pic.List | 展示多个图片 | PicListProps | | Pic.Avatar | 展示头像 | PicAvatarProps | | Pic.Avatar | 展示头像 | PicAvatarProps | | Video.Item | 展示视频 | VideoProps | | Video.List | 展示多个视频 | VideoListProps | | Audio.Item | 展示音频 | AudioProps | | Audio.List | 展示多个音频 | AudioListProps | | status | 生成状态组件 | StatusConfig | | DataListPro | 表格展示查询操作 | DataListProProps | | DataSimpleListPro | 列表展示查询操作 | DataSimpleListProProps | | DataList.HeaderOpt | 表格/列表上方操作 | DataListOptProps | | DataList.RowOpt | 表格/列表每行右侧操作 | DataListOptProps | | DataList.Search | 表格/列表搜索栏 | DataListSearchProps | | DataList.Page | 表格/列表页码 | DataListPageProps | | DataList.Tabel | 表格主体 | DataListTableProps | | DataList.List | 列表主体 | DataListListProps | | OptBoxPro | 集成表单操作弹窗 | OptBoxProProps | | OptBox.Modal | 操作弹框 | OptBoxProps | | OptBox.Drawer | 操作弹出抽屉 | OptBoxProps | | OptForm | 操作表单 | OptFormProps | | Operation.Item | 操作按钮 | OperationProps | | Operation.List | 多个连续操作按钮 | OperationListProps | | Editor.Edit | 富文本编辑器 | EditorProps | | Editor.Show | 展示富文本编辑器(html字符串)内容 | EditorShowProps | | SelectData | 集成搜索选择器 | SelectDataProps | | Layout.AdminHeader | 后台管理页面头部 | LayoutAdminHeaderProps | | Layout.Sidebar | 页面侧边菜单 | LayoutSidebarProps | | Layout.Footer | 页面底部 | LayoutFooterProps | | AdminLayout | 后台页面布局模版组件 | LayoutFooterProps | | Map.List | 地图多个地点显示 | MapListProps | | Map.Item | 地图单个地点显示 | MapItemProps | | Map.Line | 地图轨迹显示 | MapLineProps | | Map.Circle | 地图圆形范围显示 | MapCircleProps |