ryohidaka / pixiv-ui

React UI library inspired by Pixiv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pixiv-ui

npm version build codecov License

Overview

React UI library inspired by Pixiv.

Installation

You can install this library using npm:

npm install pixiv-ui

Usage

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;

Components

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

React UI library inspired by Pixiv.

License:MIT License


Languages

Language:TypeScript 95.2%Language:JavaScript 2.6%Language:HTML 1.3%Language:Shell 0.5%Language:CSS 0.3%