Skip to content

A React Component library implementing the Base design language

License

Notifications You must be signed in to change notification settings

CodeFaceIO/baseweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3,219 Commits

Base Web React Components

Build status

Base is a design system comprised of modern, responsive, living components. Base Web is the React implementation of Base.

Usage

On npm, you can find Base Web as baseui.

Add baseui and its peer dependencies to your project:

# using yarn yarn add baseui styletron-react styletron-engine-monolithic # using npm npm install baseui styletron-react styletron-engine-monolithic
import{ClientasStyletron}from'styletron-engine-monolithic';import{ProviderasStyletronProvider}from'styletron-react';import{LightTheme,BaseProvider,styled}from'baseui';import{StatefulInput}from'baseui/input';constengine=newStyletron();constCentered=styled('div',{display: 'flex',justifyContent: 'center',alignItems: 'center',height: '100%',});exportdefaultfunctionHello(){return(<StyletronProvidervalue={engine}><BaseProvidertheme={LightTheme}><Centered><StatefulInput/></Centered></BaseProvider></StyletronProvider>);}

Both Base Web and Styletron come with flow types and TypeScript. All our components are typed and examples have Vanilla, Flow and TypeScript versions.

Docs

To read the documentation, please visit baseweb.design.

Contributing

Contributing

Shoutouts 🙏

BrowserStack Logo

Big thanks to BrowserStack for letting the maintainers use their service to debug browser issues.

About

A React Component library implementing the Base design language

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript80.7%
  • JavaScript19.3%