ponix-uikit
v1.1.0
Published
shared react/styled-components ui component library for Ponix org
Downloads
5
Readme
Ponix UI Kit
Welcome to the Ponix UI Kit. The purpose of this package is to standardize UI components across all Ponix applications. Dependencies: react
, react-dom
, and styled-components
.
This repo comes with (Storybook)[https://storybook.js.org/] enabled for configuring and viewing all variations of a given component. You can run storybook locally using the command yarn storybook
or npm run storybook
.
Components
- Avatar
- Button
- Checkbox
- ContentWithStatus (loading, error, empty)
- Dropdown
- Expandable
- Flex
- Grid
- Input
- Loading
- Modal
- Popout
- Progress
- Slider
- Table
- Text
- Toggle
- Tooltip
- GlobalStyles
Hooks
- useMediaQuery
- useOutsideClick
Theme
- ThemeProvider (theme switching,
useTheme
hook) - lightTheme
- darkTheme (in progress)
Types
- Alignment (Flex, Grid)
- ReactChildren
Utils
- Breakpoints
- createFadeInAnimation
- math (clamp)
- sorting