
Security News
npm βisβ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
@lobehub/ui
Advanced tools
Lobe UI is an open-source UI component library for building AIGC web apps
Lobe UI is an open-source UI component library for building AIGC web apps
Documents Β· Changelog Β· Report Bug Β· Request Feature
[!IMPORTANT]
This package is ESM only.
To install Lobe UI, run the following command:
$ bun add @lobehub/ui
[!NOTE]
By work correct with nextjs page router SSR, addtranspilePackages: ['@lobehub/ui']
tonext.config.js
. For example:
// next.config.js
const nextConfig = {
// ...other config
transpilePackages: ['@lobehub/ui'],
};
[!NOTE]
The LobeUI components are developed based on Antd, fully compatible with Antd components, and it is recommended to use antd-style as the default css-in-js styling solution.
import { ThemeProvider, Button } from '@lobehub/ui'
import { Button } from 'antd'
export default () => (
<ThemeProvider>
<Button>Hello AIGC</Button>
</ThemeProvider>
)
You can use Github Codespaces for online development:
Or clone it for local development:
$ git clone https://github.com/lobehub/lobe-ui.git
$ cd lobe-ui
$ bun install
$ bun start
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what youβre made of.
Every bit counts and your one-time donation sparkles in our galaxy of support! You're a shooting star, making a swift and bright impact on our journey. Thank you for believing in us β your generosity guides us toward our mission, one brilliant flash at a time.
FAQs
Lobe UI is an open-source UI component library for building AIGC web apps
The npm package @lobehub/ui receives a total of 51,661 weekly downloads. As such, @lobehub/ui popularity was classified as popular.
We found that @lobehub/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.