Package Exports
- @weimi/ui
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@weimi/ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Weimi-ui
Weimi-ui is set of react component that highly customize-able
- Theme support, generated from design token
- Compostable with props inherit
- Convenient props accessiable
- Accessiability feature enable
Getting started
npm i @weimi/uiimport { withTheme, GoTheme } from '@weimi/ui/theme'
import { Box } from '@weimi/ui'
const UI = withTheme(GoTheme)
function App() {
return <UI>
<Box bg='black' color='white'>Hello world</Box>
</UI>
}Primitive
- Base
- support
cssprops - integrate clean tag
- Box -- props:
space, width, fontSize, color- Flex -- props:
flex - Relative -- display:
relative - Fixed -- display:
fixed - Static -- display:
static - Sticky -- display:
sticky
- Flex -- props:
- support
- AllStyle
- Compose
- support
from
- support
Theme
- Provider
- createTheme
- Choices
- Variant
- Plugin ecosystem
Components
- Global
- Link
- Heading
- Button
- Text
- Card
- Hide
- Overlay
- Backdrop
- Image
- Divider
Interactive
- Segment
- Dialog
- MenuButton
Demo site
- Editable code sample
- Docs for components
- Typograhpy
- Props table
- Theme selector
- Theme generator
- Styling docs site