- Add PLAN.md with 40-step checklist across 10 phases - Add CLAUDE.md with project-specific instructions - Set up nix flake with FastHTML/MonsterUI dependencies - Create Python package skeleton (src/animaltrack) - Vendor FastHTML and MonsterUI documentation - Add Docker build configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.1 KiB
2.1 KiB
Steps API Reference
See Source
See Output
- Account Created
- Profile Setup
- Verification
[code]
def ex_steps2():
return Steps(
LiStep("Account Created", cls=StepT.primary),
LiStep("Profile Setup", cls=StepT.neutral),
LiStep("Verification", cls=StepT.neutral),
cls="w-full")
[/code]
See Source
See Output
- Project Planning
- Design Phase
- Development
- Testing
- Deployment
[code]
def ex_steps3():
return Steps(
LiStep("Project Planning", cls=StepT.success, data_content="📝"),
LiStep("Design Phase", cls=StepT.success, data_content="💡"),
LiStep("Development", cls=StepT.primary, data_content="🛠️"),
LiStep("Testing", cls=StepT.neutral, data_content="🔎"),
LiStep("Deployment", cls=StepT.neutral, data_content="🚀"),
cls=(StepsT.vertical, "min-h-[400px]"))
[/code]
API Docs
Steps
Source
[code]
Steps(*li, cls='', **kwargs) -> fastcore.xml.FT
[/code]
Creates a steps container
Params
-
liEachLirepresent a step (generally useLiStep) -
clsclass for Steps (generally aStepsToption) -
kwargs
Returns: Ul(..., cls='steps')
StepsT
Options for Steps
| Option | Value | Option | Value |
|---|---|---|---|
| vertical | steps-vertical | horizonal | steps-horizonal |
LiStep
Source
[code]
LiStep(*c, cls='', data_content=None, **kwargs) -> fastcore.xml.FT
[/code]
Creates a step list item
Params
-
cDescription for Step that goes next to bubble (often text) -
clsAdditional step classes (generally aStepTcomponent) -
data_contentContent for inside bubble (defaults to number, often an emoji) -
kwargs
Returns: Li(..., cls='step')
StepT
Step styles for LiStep
| Option | Value | Option | Value | Option | Value |
|---|---|---|---|---|---|
| primary | step-primary | secondary | step-secondary | accent | step-accent |
| info | step-info | success | step-success | warning | step-warning |
| error | step-error | neutral | step-neutral |