mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Updated <Ballpit /> background
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user