MCPcopy Index your code
hub / github.com/IgnacioNMiranda/vite-component-library-template

github.com/IgnacioNMiranda/vite-component-library-template @v3.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.0.1 ↗ · + Follow
5 symbols 10 edges 14 files 0 documented · 0% updated 12mo agov3.0.1 · 2025-06-22★ 236
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

⚛️⚡ Vite + React + Typescript Component Library Template

Features

Getting Started

  1. Create a new repository using this one as template
  2. Clone your repo
  3. Install dependencies with pnpm i (first run corepack enable to enable pnpm)

Main Scripts

Always prepending pnpm:

  • dev: Bootstrap the Storybook preview with Hot Reload.
  • build: Builds the static storybook project.
  • build:lib: Builds the component library into the dist folder.
  • lint: Applies linting based on the rules defined in biome.json.
  • format: Formats files using the biome rules defined in biome.json.
  • test: Runs testing using watch mode.
  • test:cov: Runs testing displaying a coverage report.

Blog Post

I created a post explaning how to set up this library and publish it to a package registry! You can read it here.

Author

Ignacio Miranda Figueroa

License

MIT

Extension points exported contracts — how you extend this code

AtButtonProps (Interface)
(no doc)
src/lib/components/atoms/at-button/index.tsx

Core symbols most depended-on inside this repo

objectValuesToControls
called by 1
src/lib/storybook-utils.ts
MlBanner
called by 0
src/lib/components/molecules/ml-banner/index.tsx
AtButton
called by 0
src/lib/components/atoms/at-button/index.tsx
OrFooter
called by 0
src/lib/components/organisms/or-footer/index.tsx

Shape

Function 4
Interface 1

Languages

TypeScript100%

Modules by API surface

src/lib/components/atoms/at-button/index.tsx2 symbols
src/lib/storybook-utils.ts1 symbols
src/lib/components/organisms/or-footer/index.tsx1 symbols
src/lib/components/molecules/ml-banner/index.tsx1 symbols

For agents

$ claude mcp add vite-component-library-template \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page