본문으로 건너뛰기
cccskills
무료GitHub에 공개

building-landing-home

Build a product or documentation landing page by arranging @lobehub/ui/awesome components for the hero, live examples, feature sections, and install call to action. Wire links and theming, then review the page for responsive layout and accessibility preferences.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Compose a product or documentation home page from the @lobehub/ui/awesome landing components: LandingHero, AgentSkillCard, LogoMarquee, LandingSection, BentoGrid/BentoCard, CodeShowcase, FeatureGrid, InstallBanner and FluidGradient. Covers page structure, the lobedocs homePage hook, router links, theming the accent gradient, and a review checklist. Trigger on build a home page, landing page, docs home, marketing page, hero section, redesign home, lobedocs homePage, 首页, 落地页, 官网首页.

lobehub/lobe-ui스타 2,246(GitHub 2,246 + cccskills 0)
연동 도구OpenAI

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Create a product landing page from existing components
  • Build a home page for a lobedocs documentation site
  • Add live component examples and feature sections
  • Review landing page links, themes, and mobile layout

포함된 파일(1)

  • SKILL.md8.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Building a landing home with @lobehub/ui/awesome

Every band of a landing page has a component. Your job is to choose the bands, write honest copy and render real product UI inside them, not to restyle containers.

Components

All components import from @lobehub/ui/awesome. Read each one's page before using a prop you have not seen here: https://ui.lobehub.com/skills/components/awesome/<kebab-name>.md.

BandComponentUse it for
OpeningLandingHeroBadge, title with gradient accent, description, up to two actions, optional aside column.
Beside the hero textAgentSkillCard"I'm an Agent / I'm a Human" card: a prompt for coding agents and an install command for people.
Under the heroLogoMarqueeIntegrations or supported providers. Icons from @lobehub/icons.
Any middle bandLandingSectionTag, title and description on the left, small actions on the right, content below. Wrap every middle band in it.
Live component galleryBentoGrid + BentoCardTiles that render real components; colSpan/rowSpan for emphasis; href to the docs page.
Code next to its resultCodeShowcaseTwo to four short snippets, each with a live preview.
Reasons to chooseFeatureGridThree or six cards of icon, title and one-sentence description.
Closing call to actionInstallBannerTitle, copyable install command, footnote with license and a docs link.
Background textureFluidGradientPlace it behind a positioned band when you want a texture. Needs a positioned parent.

Page structure

Default order. Drop a band rather than filling it with filler.

  1. LandingHero with aside={<AgentSkillCard />} and children={<LogoMarquee />}.
  2. LandingSection + BentoGrid: the widest, most visual proof.
  3. LandingSection + CodeShowcase: how little code it takes.
  4. LandingSection + FeatureGrid: foundations such as theming, i18n, performance.
  5. InstallBanner.
import {
  AgentSkillCard,
  InstallBanner,
  LandingHero,
  LandingSection,
  LogoMarquee,
} from '@lobehub/ui/awesome';
import { ArrowRight } from 'lucide-react';

export default function Home() {
  return (
    <>
      <LandingHero
        accent="UI Kit"
        actions={[
          {
            href: '/docs',
            icon: ArrowRight,
            iconPlacement: 'end',
            label: 'Get Started',
            primary: true,
          },
          { href: 'https://github.com/acme/kit', label: 'GitHub' },
        ]}
        aside={
          <AgentSkillCard
            agent={{
              code: 'Read https://kit.acme.dev/skills.md and follow it to build UI with @acme/kit.',
              description: 'Send this prompt to your agent to pick the right components',
            }}
            human={{
              code: 'npx skills add acme/kit',
              description: 'Install the skills into your project',
            }}
          />
        }
        description="One sentence on what it is and who it is for."
        title="Acme"
      >
        <LogoMarquee items={[/* { icon: OpenAI, label: 'OpenAI' } */]} />
      </LandingHero>

      <LandingSection
        actions={[{ href: '/components', label: 'Browse components' }]}
        eyebrow="Components"
        id="home-gallery"
        title="Built for AI interfaces"
      >
        {/* BentoGrid of live tiles */}
      </LandingSection>

      <InstallBanner
        command="pnpm add @acme/kit"
        footnote="Open source · MIT license"
        title="Start building"
      />
    </>
  );
}

Wiring

  • lobedocs sites: set homePage: './docs/home/home.tsx' in docs.config.ts. The default export receives { description, getStartedPathname }; use getStartedPathname for the primary action.
  • Client-side routing: LandingHero, BentoCard and FeatureGrid render plain anchors. Pass one shared renderLink so internal links use the router and absolute URLs open in a new tab:
import type { LandingLinkRender } from '@lobehub/ui/awesome';
import { Link } from 'react-router';

export const renderLink: LandingLinkRender = ({ external, href, ...props }) =>
  external ? (
    <a href={href} rel="noreferrer" target="_blank" {...props} />
  ) : (
    <Link to={href} {...props} />
  );
  • Accent colour: the gradient on the hero accent, eyebrows, outlined action and install glow reads --lobe-landing-gradient. Set it once on :root (and per theme) instead of overriding component styles. FluidGradient takes its three stops through colors.
  • Search indexing: wrap the title and description in <span data-pagefind-meta="title"> / "description" when the site uses Pagefind.

AgentSkillCard content

  • The agent prompt must point at a URL that exists: the site's skills.md (lobedocs generates it) or llms.txt. Say what the agent should do with it, in one sentence.
  • The human command must be runnable as written. If the project has no skills package, drop human and the card shows the prompt alone.
  • agents defaults to DEFAULT_SKILL_AGENTS (Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Cline, OpenCode). Replace it with the .Avatar components from @lobehub/icons that the project actually supports, or [] to hide the row.
  • Use footer for secondary links such as skills.md and llms.txt.

Copy and content rules

  • Title: the product name, with the category or promise as accent. No more than four words.
  • Description: one sentence, under 20 words, concrete ("React components for AIGC web apps"), never "powerful", "seamless" or "next-generation".
  • At most two hero actions: one primary, one secondary.
  • Bento tiles render real components with realistic data. A tile that cannot show something live does not belong in the grid. Give the most expressive component colSpan={2} rowSpan={2}.
  • CodeShowcase snippets fit in about ten lines and compile as written.
  • FeatureGrid uses three or six items; each description is one sentence.
  • LandingSection id values must be unique; they label the headings.
  • eyebrow is a one- or two-word tag ("Components", "Foundations"); give each band its own eyebrowColor preset (blue, green, orange…). Give a section at most one actions entry.
  • Only the hero's Get Started action is primary. Every other action renders as BottomGradientButton; pass onNavigate={useNavigate()} so internal ones route client-side.

Review checklist

  1. Every link resolves: primary action, bento hrefs, prompt URL, footer links.
  2. Light and dark mode both read well; the accent gradient is not the only thing carrying meaning.
  3. At 375px wide the hero stacks, actions fill the width, and the bento grid is one column.
  4. Nothing animates under prefers-reduced-motion (the marquee stops, the texture freezes).
  5. Copy passes the rules above; no placeholder text or lorem ipsum remains.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use this skill to migrate an app from @lobehub/ui 5.x to 6.x. It helps remove obsolete dependencies, update theme setup and imports, address changed component props, and verify the migration with codemod reports and project checks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Upgrade an app from @lobehub/ui 5.x to 6.x
  • Replace ThemeProvider and update theme setup
  • Review codemod findings and fix changed component props
lobehub/lobe-ui2.2천2026년 10월 26일 업데이트

Verify the local lobe-ui component library and documentation site in a browser using agent-browser. Check documented routes, standalone demos, interactions, light and dark themes, responsive layouts, screenshots, and browser or server errors.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking a component change in the local documentation site
  • Testing a standalone demo’s interactions and appearance
  • Verifying responsive layouts and capturing screenshot evidence
lobehub/lobe-ui2.2천2026년 10월 26일 업데이트

Use this skill to tune lobe-ui color tokens for brand palettes, status colors, and light or dark themes. It audits contrast and color values, generates scales from new inputs, and prepares a visual review board so people can assess the results.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adjust status colors that look pink, gray, muddy, or too dark
  • Create a brand palette for lobe-ui
  • Review contrast in light and dark themes
lobehub/lobe-ui2.2천2026년 10월 26일 업데이트

Use this skill to set up and write a static documentation site with @lobehub/docs-kit. It covers site configuration, component pages, interactive demos, API tables, guides, and changelogs, along with the validations that catch documentation issues during a build.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Set up a documentation site with @lobehub/docs-kit
  • Write component pages with demos and API tables
  • Migrate documentation pages from dumi
lobehub/lobe-ui2.2천2026년 10월 26일 업데이트

lobehub의 스킬 모두 보기

이 스킬의 문제 신고