jiyoon-ds
v2.0.4
Published
Design Systems using React Components
Downloads
3
Maintainers
Readme
JY DS
JY DS is an open-source UI component library created by the author JIY00N2.
Usage
import { Tooltip } from 'jiyoon-ds';
import styles from './Tooltip.module.css';
export const Tooltip = () => {
return (
<Tooltip.Root direction='topLeft' offset={5} enterDelay={1000}>
<Tooltip.Trigger>
<div className={styles.trigger}>enterDelay 1s</div>
</Tooltip.Trigger>
<Tooltip.Content className={styles.blackContent}>
<Tooltip.Arrow style={{ marginLeft: '10px' }} />
<span>content example1</span>
<span>content example2</span>
<span>content example3</span>
</Tooltip.Content>
</Tooltip.Root>
);
};
Documentation
See https://jiyoon-ds-web.vercel.app/