Skip to content

Skeleton

6s on one page-wide clock. When loaded, the same threshold sweeps once and swaps placeholder for content cell by cell, the front cells in the accent.

Download
Customize

Content shares the placeholder's box, so nothing shifts.

Install

npx shadcn@latest add https://obsydeui.com/r/skeleton.json

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { Skeleton } from '@/components/obsyde/ember/skeleton/Skeleton';

export function Example() {
  return (
    <Skeleton />
  );
}

Files

Plain React, TypeScript and CSS. No dependencies. The download keeps these paths.

  • ember/skeleton/Skeleton.tsxcomponent
  • ember/skeleton/skeleton-demo.cssstyles
  • ember/skeleton/skeleton.cssstyles
  • ember/skeleton/SkeletonDemo.tsxdemo
  • ember/status-kit/kit.tsshared
  • ember/shared/chart-kit.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
layoutLayout'circle-text' | 'text' | 'block''circle-text'
linesLinesnumber3
heightBlock heightnumber120
loadedLoadedbooleanfalse