# @bootstrap-styled/v4 中文文档

规范地址：https://npmcn.com/package/%40bootstrap-styled/v4/

版本：3\.4\.0
npm 元数据更新时间：2022-04-04T20:11:57.527Z
中文译文更新时间：2026-11-08T11:31:51.388Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40bootstrap-styled/v4
原文对照：https://npmcn.com/package/%40bootstrap-styled/v4/?lang=original
项目主页：https://bootstrap-styled.github.io/v4
源码仓库：https://github.com/bootstrap-styled/v4

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：12 MB，386 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：未声明
- Node.js 要求：\>=8
- 运行依赖：15 个
- peer 依赖：react ^16\.9\.0，react-dom ^16\.9\.0，styled-components ^4\.0\.0 \|\| ^5\.0\.1
- 首次发布：2018-10-05T00:01:20.369Z
- 最新版本发布：2020-02-18T23:06:35.008Z
- 近 30 天下载量：17102（2026-10-09 至 2026-11-07，npm 官方下载统计）
- 已发布版本数：77（近 12 个月 0 个）

## 中文简介

由靴子状部件制成的twbs/bootstrap V4 UI组件. 与cs-in-js合作,反应,有风格的组件,和"靴子"样式的公用事业.

## 安装

```sh
npm install @bootstrap-styled/v4
```

也可以使用：`pnpm add @bootstrap-styled/v4`、`yarn add @bootstrap-styled/v4`、`bun add @bootstrap-styled/v4`

## README

[![bootstrap-styled](https://user-images.githubusercontent.com/1866564/50375497-cda74880-0630-11e9-9f1e-e8d798dff47b.png)](https://bootstrap-styled.github.io/)  
  

**如果你还不知道靴子纹身,我们建议你读 [他们的文档](https://bootstrap-styled.github.io/) 先说.**

[![Build Status](https://travis-ci.org/bootstrap-styled/v4.svg?branch=master)](https://travis-ci.org/bootstrap-styled/v4) [![npm Version](https://img.shields.io/npm/v/@bootstrap-styled/v4.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/v4) [![License](https://img.shields.io/npm/l/@bootstrap-styled/v4.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/v4) [![NPM total downloads](https://img.shields.io/npm/dt/@bootstrap-styled/v4.svg?style=flat)](https://npmjs.org/package/@bootstrap-styled/v4) [![Module formats](https://img.shields.io/badge/module%20formats-umd%2C%20cjs%2C%20esm-green.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/v4) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.v4&metric=coverage)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.v4) [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.v4&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.v4) [![gitter](https://badges.gitter.im/bootstrap-styled/bootstrap-styled.svg)](https://gitter.im/bootstrap-styled) [![Greenkeeper badge](https://badges.greenkeeper.io/bootstrap-styled/v4.svg)](https://greenkeeper.io/)

摇滚: [twbs/波纹](https://github.com/twbs/bootstrap) **五. 四级** UI 组件制作 [靴子状](https://bootstrap-styled.github.io/)与cs -in -js合作, [反应](https://github.com/facebook/react), (中文(简体) ), [样式组件](https://github.com/styled-components/styled-components),以及"靴子"风格的公用事业.

## 目录

-   [文档](https://npmcn.com/package/%40bootstrap-styled/v4/#readme-documentation)
-   [捐款](https://npmcn.com/package/%40bootstrap-styled/v4/#readme-contributing)
-   [麻省理工学院许可证](https://npmcn.com/package/%40bootstrap-styled/v4/#readme-license-mit)

* * *

## 文档

读取 [v4 文档](https://bootstrap-styled.github.io/v4)。 。 。 .

## 捐款

如果你想加入V4,请看我们 [贡献和社区准则](https://github.com/bootstrap-styled/v4/blob/master/.github/CONTRIBUTING.md)他们会帮助你在当地建立 并解释整个过程.

请注意,所有寄存器 在靴子式的组织 [行为守则](https://github.com/bootstrap-styled/v4/blob/master/CODE_OF_CONDUCT.md),确保审查和遵循.

## 麻省理工学院许可证

麻省理工学院许可证

版权 (c)2017-2018 Yeutech Company Limited. [https://bootstrap-typed.github.io/bootstrap-tyled 互联网档案馆的存檔,存档日期2014-12-02](https://bootstrap-styled.github.io/bootstrap-styled)

特此免费准许任何人获得副本 ,用于处理 在软件中不受限制,包括不受限制的权利 使用、复制、修改、合并、出版、分发、分许可证和/或出售 软件的复制件,并允许该软件所针对的人 满足下列条件:

上述版权通知和本许可通知应列入 软件的所有副本或大部分.

软件是提供的"AS IS", 没有任何的恐惧, EXPRESS OR ,包括但不限制于雇佣军的保障, 特别目的和非目的的证明。 绝对不会 B. 任何索赔、索赔或其他索赔的索赔人或 责任,在契约、契约或其他行为中,产生于, 或与溶剂或溶剂的使用或 软件.

## 常见问题

### @bootstrap-styled/v4 是什么？

由靴子状部件制成的twbs/bootstrap V4 UI组件\. 与cs-in-js合作,反应,有风格的组件,和"靴子"样式的公用事业\.

### 如何安装 @bootstrap-styled/v4？

在项目目录运行 npm install @bootstrap-styled/v4，或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖：react（^16\.9\.0）、react-dom（^16\.9\.0）、styled-components（^4\.0\.0 \|\| ^5\.0\.1）。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖，Yarn 需要手动安装。

### @bootstrap-styled/v4 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/bootstrap-styled\_\_v4 是否存在。

### @bootstrap-styled/v4 支持 ESM 还是 CommonJS？

同时提供 ES Module 与 CommonJS 入口，import 和 require\(\) 都可以使用，打包工具会自动选择合适的版本。

### @bootstrap-styled/v4 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=8。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @bootstrap-styled/v4 可以商用吗？

@bootstrap-styled/v4 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @bootstrap-styled/v4 的下载量有多少？

根据 npm 官方下载统计，@bootstrap-styled/v4 在 2026/10/09 – 2026/11/07 这 30 天内被下载 17,102 次，日均约 570 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @bootstrap-styled/v4 还在维护吗？

最新版本 3\.4\.0 发布于 2020/02/19（6 年前）；至今共发布 77 个版本，其中过去 12 个月发布了 0 个；首次发布于 2018/10/05。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

