Updated <Ballpit /> background

This commit is contained in:
Utkarsh Singhal
2025-07-16 12:17:14 +05:30
committed by GitHub
parent 53259ffe13
commit a2ce68be55

View File

@@ -4,7 +4,10 @@ import type { CodeObject } from '../../../types/code';
export const ballpit: CodeObject = { export const ballpit: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Ballpit`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Ballpit`,
installation: `npm i three`, installation: `npm i three`,
usage: `<template> usage: `//Component inspired by Kevin Levron:
//https://x.com/soju22/status/1858925191671271801
<template>
<div class="relative w-full h-[500px] overflow-hidden"> <div class="relative w-full h-[500px] overflow-hidden">
<Ballpit <Ballpit
:count="200" :count="200"