Skip to content
R

react

TSX components, UI libraries, styling, state locality, layout

by lobehubFree

#1018in AI Skills
0In stores

Description

react is an agent skill from the LobeHub repository with a writing guide for TSX components. It covers styling, component choice, layout, st…

Highlights

  • Styling priority: createStaticStyles with cssVar first
  • Component priority: project, base-ui, @lobehub/ui, antd, then custom
  • Covers layout, state locality and render performance
  • Warns against importing same-named root exports over base-ui

Ratings & Reviews

No ratings yet

Be the first to rate react.

People also visit

A

artifacts-builder

Suite of tools for creating elaborate

AI Skills
Get
S

shadcn-component-boundaries

Trigger: components/ui, shadcn, component placement, common components

AI Skills
Get
F

frontend-design

Strict frontend design guardrails for building modern, minimal-visual-noise

AI Skills
Get
F

frontend-dev-guidelines

You are a senior frontend engineer operating under strict architectural

AI Skills
Get
B

building-components

Guide for building modern, accessible, and composable UI components

AI Skills
Get
P

pick-ui-library

Pick the right library for a given frontend task from a curated

AI Skills
Get

react FAQ

Which styling approach comes first?

createStaticStyles with cssVar, which has no runtime cost. Inline styles and createStyles come after it for narrower cases.

Which component library should I use?

Check src/components first, then @lobehub/ui/base-ui, then @lobehub/ui, then antd, and write a custom component only as a last resort.

What if I am not sure a component exists?

Search the existing code, or look in node_modules/@lobehub/ui for the installed components.

How do I install it?

Run npx skills add https://github.com/lobehub/lobehub --skill react.

Which security audits does it have?

On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best react alternatives?

Popular alternatives to react include artifacts-builder, shadcn-component-boundaries and frontend-design. See all react alternatives

Developer Stuff

Badges