Vela UI Docsvenizia.ai

book-01

Book01, one of the 856 Vela UI icons, in the General group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-book-01.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-book-01

Usage

// components/icons/book-01.tsx
import Book01 from "@/components/icons/book-01"

<Book01 className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface Book01Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Book01({ size = 24, strokeWidth = 1, className, ref, ...props }: Book01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12.1391 20.4866C13.5304 19.4663 17.3704 18.0379 21.6 20.4866V5.18226M2.4 4.904V20.4866C3.79131 19.4663 7.6313 18.0379 11.8609 20.4866V5.46052M2.4 4.86475C3.79131 3.84446 7.6313 2.41605 11.8609 4.86475M12.1391 4.86475C13.5304 3.84446 17.3704 2.41605 21.6 4.86475" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Book01.displayName = "Book01";

export default Book01;