Current collected state Current
Observed since 20 Oct, 21:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@01works/react-ui
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.
| Package / target | Requirement | Relationship |
|---|---|---|
clsxEnvironment{
"local_name": "clsx",
"alias": false,
"peer_metadata": null
} | 2.1.1 | runtime |
uuidEnvironment{
"local_name": "uuid",
"alias": false,
"peer_metadata": null
} | 10.0.0 | runtime |
framer-motionEnvironment{
"local_name": "framer-motion",
"alias": false,
"peer_metadata": null
} | 11.3.28 | runtime |
tailwind-mergeEnvironment{
"local_name": "tailwind-merge",
"alias": false,
"peer_metadata": null
} | 2.5.2 | runtime |
tailwindcss-animateEnvironment{
"local_name": "tailwindcss-animate",
"alias": false,
"peer_metadata": null
} | ^1.0.7 | runtime |
@radix-ui/react-slotEnvironment{
"local_name": "@radix-ui/react-slot",
"alias": false,
"peer_metadata": null
} | ^1.1.0 | runtime |
@radix-ui/react-dialogEnvironment{
"local_name": "@radix-ui/react-dialog",
"alias": false,
"peer_metadata": null
} | ^1.1.1 | runtime |
@radix-ui/react-selectEnvironment{
"local_name": "@radix-ui/react-select",
"alias": false,
"peer_metadata": null
} | 2.1.1 | runtime |
@radix-ui/react-sliderEnvironment{
"local_name": "@radix-ui/react-slider",
"alias": false,
"peer_metadata": null
} | ^1.2.0 | runtime |
@radix-ui/react-toggleEnvironment{
"local_name": "@radix-ui/react-toggle",
"alias": false,
"peer_metadata": null
} | 1.1.0 | runtime |
@radix-ui/react-popoverEnvironment{
"local_name": "@radix-ui/react-popover",
"alias": false,
"peer_metadata": null
} | ^1.1.1 | runtime |
react-medium-image-zoomEnvironment{
"local_name": "react-medium-image-zoom",
"alias": false,
"peer_metadata": null
} | ^5.2.9 | runtime |
class-variance-authorityEnvironment{
"local_name": "class-variance-authority",
"alias": false,
"peer_metadata": null
} | 0.7.0 | runtime |
@radix-ui/react-accordionEnvironment{
"local_name": "@radix-ui/react-accordion",
"alias": false,
"peer_metadata": null
} | ^1.2.0 | runtime |
browser-image-compressionEnvironment{
"local_name": "browser-image-compression",
"alias": false,
"peer_metadata": null
} | 2.0.2 | runtime |
nextEnvironment{
"local_name": "next",
"alias": false,
"peer_metadata": null
} | 14.2.7 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | ^18.3.1 | development |
postcssEnvironment{
"local_name": "postcss",
"alias": false,
"peer_metadata": null
} | ^8.4.42 | development |
react-domEnvironment{
"local_name": "react-dom",
"alias": false,
"peer_metadata": null
} | 18.3.1 | development |
@types/uuidEnvironment{
"local_name": "@types/uuid",
"alias": false,
"peer_metadata": null
} | ^10.0.0 | development |
tailwindcssEnvironment{
"local_name": "tailwindcss",
"alias": false,
"peer_metadata": null
} | 3.4.10 | development |
autoprefixerEnvironment{
"local_name": "autoprefixer",
"alias": false,
"peer_metadata": null
} | ^10.4.20 | development |
reactEnvironment{
"local_name": "react",
"alias": false,
"peer_metadata": null
} | ^18.3.1 | peer |
react-domEnvironment{
"local_name": "react-dom",
"alias": false,
"peer_metadata": null
} | 18.3.1 | peer |
Source distribution
{
"shasum": "3e0cbcab0654d7afa196c6d0e0a47e49bfda02f7",
"tarball": "https://registry.npmjs.org/@01works/react-ui/-/react-ui-0.0.0-240920.75925.tgz",
"fileCount": 242,
"integrity": "sha512-xwuOS4eG+x+QoQrlI67G9b7Wxe2V7wDO8PZC6v7YEbMFwm6W1miNJL38j+3pmjqapHYyVngNVH4XRlaXcJD+jw==",
"signatures": [
{
"sig": "MEYCIQDgD1MSRsM9Abc76dfguZ7G9sZuFUvBxKb+H0XFgXUSyQIhAKbHi4WB294Kj6dLElV5JEPSI7ubzkN4bLr7bgMLi9xa",
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
}
],
"unpackedSize": 2007992
}Observed since 20 Oct, 21:59 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:fd97aea754c848acae6337178e73dc704823c5d7bc5151d550d944b3b160b7f3