Current collected state Current
Observed since 20 Oct, 21:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Design System for Dashboard
Design System for Dashboard
npm i @01works/react-ui
# or
pnpm add @01works/react-ui
# or
yarn add @01works/react-ui
# or
bun add @01works/react-ui
import { Button } from '@01works/react-ui'
export const Component = () => {
const onClick = () => {
console.log('click')
}
return (
<>
<Button onClick={onClick} color="black" size="small" shape="square">
Button
</Button>
</>
)
}
import { ToggleField } from '@01works/react-ui'
export const Component = () => {
const [pressed, setPressed] = useState(false)
return (
<ToggleField
label="ToggleField"
labelBasis={120}
pressed={pressed}
onChange={setPressed}
/>
)
}
import { TextField } from '@01works/react-ui'
export const Component = () => {
return (
<TextField
label="TextField"
labelBasis={120}
placeholder="Placeholder"
color="white"
type="text"
/>
)
}
import { TextAreaField } from '@01works/react-ui'
export const Component = () => {
return (
<TextAreaField
label="TextAreaField"
labelBasis={120}
placeholder="Placeholder"
size="small"
color="white"
/>
)
}
import { SelectField } from '@01works/react-ui'
export const Component = () => {
return (
<SelectField
label="SelectField"
labelBasis={120}
placeholder="Placeholder"
color="white"
options={[
{ label: 'Option 1', value: 'option1' },
{ label: 'Option 2', value: 'option2' },
{ label: 'Option 3', value: 'option3' },
]}
/>
)
}
import { ColorField } from '@01works/react-ui'
export const Component = () => {
return (
<ColorField
label="ColorField"
color="white"
/>
)
}
import { SliderField } from '@01works/react-ui'
export const Component = () => {
const [value, setValue] = useState([50])
return (
<SliderField
label="SliderField"
labelBasis={120}
min={0}
max={100}
step={1}
value={value}
onValueChange={(value: number[]) => setValue(value)}
/>
)
}
import { ImageField } from '@01works/react-ui'
export const Component = () => {
const [value, setValue] = useState<ImageFieldValue>(null)
return (
<ImageField
label="ImageField"
value={value}
setValue={(value: ImageFieldValue) => setValue(value)}
/>
)
}
import { Accordion } from '@01works/react-ui'
export const Component = () => {
return (
<Accordion
label="Accordion"
>
<div>Accordion</div>
</Accordion>
)
}
import { Dialog } from '@01works/react-ui'
export const Component = () => {
return (
<Dialog
trigger={<Button>Open Dialog</Button>}
title="Dialog"
description="Dialog"
button={{
cancel: 'Cancel',
submit: 'Submit',
onSubmit: () => console.log('submit'),
}}
>
<div>Dialog</div>
</Dialog>
)
}
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.0-240918.114128 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.113018 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.102032 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.70422 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.63747 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.63259 | 18 Sept 2024 | 20 | |
| 0.0.0-240918.62408 | 18 Sept 2024 | 20 | |
| 0.0.0-240911.45954 | 11 Sept 2024 | 20 | |
| 0.0.0-240910.62803 | 10 Sept 2024 | 19 | |
| 0.0.0-240909.125512 | 9 Sept 2024 | 19 | |
| 0.0.0-240909.71510 | 9 Sept 2024 | 19 | |
| 0.0.0-240903.154405 | 3 Sept 2024 | 15 | |
| 0.0.0-240831.83753 | 31 Aug 2024 | 13 | |
| 0.0.0-240828.112456 | 28 Aug 2024 | 9 | |
| 0.0.0-240828.85930 | 28 Aug 2024 | 9 | |
| 0.0.0-240828.81623 | 28 Aug 2024 | 9 | |
| 0.0.0-240828.81417 | 28 Aug 2024 | 9 | |
| 0.0.0-240827.142449 | 27 Aug 2024 | 9 | |
| 0.0.0-240827.140530 | 27 Aug 2024 | 9 | |
| 0.0.0-240827.85633 | 27 Aug 2024 | 9 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:49028909ae4f32989bfb8ce3460b9dc54c2fc5e9fccd3309568c81aa36e18ddd