React UI library inspired by Pixiv.
You can install this library using npm:
npm install pixiv-ui
import { FigureCell } from "pixiv-ui";
function App() {
const image = { src: "https://via.placeholder.com/300" };
const author = {
id: "1",
name: "Sample Author",
avatarURL: "https://via.placeholder.com/300",
link: { href: "https://example.com" },
};
const link = { href: "https://example.com" };
return (
<>
<FigureCell
image={image}
pageCount={1}
title="Sample Title"
author={author}
link={link}
/>
</>
);
}
export default App;
This project is licensed under the MIT License - see the LICENSE file for details.