Hero
An opening section: a meta line, a big headline, a subline and two actions, centred or set left over a live background slot.
$149 once · every Pro piece
Customize
filament
plain
center
start
On mount the words rise out of a soft blur one after another, and the actions follow. The copy lets the pointer through to the background, so Convection or Hotplate behind it still answers to the hand.
Install
npx shadcn@latest add @obsyde/heroNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { Hero } from '@/components/obsyde/ember/hero/Hero';
export function Example() {
return (
<Hero />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/hero/Hero.tsxcomponentember/hero/hero-demo.cssstylesember/hero/hero.cssstylesember/hero/HeroDemo.tsxdemoember/effects-kit/kit.tssharedember/shared/accent.tssharedember/hotplate/hotplate.csssharedember/hotplate/Hotplate.tsxsharedember/shared/ember.csssharedember/shared/spring.tssharedember/convection/convection.csssharedember/convection/Convection.tsxsharedember/filament-text/filament-text.csssharedember/filament-text/FilamentText.tsxsharedember/blocks-kit/blocks-kit.csssharedember/blocks-kit/kit.tsxshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
backgroundBackground | 'convection' | 'hotplate' | 'none' | 'convection' |
headlineHeadline | 'filament' | 'plain' | 'filament' |
alignAlign | 'center' | 'start' | 'center' |
metaMeta line | boolean | true |